Path: utzoo!utgpu!water!watmath!clyde!att!pacbell!lll-tis!helios.ee.lbl.gov!pasteur!agate!ig!uwmcsd1!dogie!rhesus!bin From: bin@rhesus.primate.wisc.edu (Brain in Neutral) Newsgroups: comp.sources.d Subject: Re: hpgl2ps question (rint undefined) Message-ID: <345@rhesus.primate.wisc.edu> Date: 21 Jul 88 14:23:08 GMT References: <343@rhesus.primate.wisc.edu> Organization: UW-Madison Primate Center Lines: 18 From article <343@rhesus.primate.wisc.edu>, by bin@rhesus.primate.wisc.edu (Brain in Neutral): > A while back, a convertor for HPGL to PostScript was posted to > comp.sources.misc by Don McCormack. I compiled it, but get > an undefined symbol "rint"... Well. This was on an Ultrix 1.2 machine. I find in my Ultrix 2.2 documentation, in the floor(3m) manual page: double rint(x) double x; The rint routine returns the integer (represented as a double precision number) nearest x in the direction of the prevailing rounding mode. Sure enough, no undefined rint when compiling with -lm on Ultrix 2.2. Oh, by the way, it's Don McCormick. I spelled the author's name wrong.