Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!munnari.oz.au!bruce!trlluna!rhea.trl.oz.au!aduncan From: aduncan@rhea.trl.oz.au (Allan Duncan) Newsgroups: comp.sys.amiga.tech Subject: Re: Help needed from UNIX buff Message-ID: <2053@trlluna.trl.oz> Date: 9 Aug 90 00:41:32 GMT References: <10936@wehi.dn.mu.oz> Sender: root@trlluna.trl.oz Lines: 21 From article <10936@wehi.dn.mu.oz>, by BAXTER_A@wehi.dn.mu.oz: > I am currently porting (I hope) HPGLtoPS and was wondering: > > What does the UNIX C function rint() do? [Sorry about the previous dud followup.] It stands for round integer - double rint(x) double x returns the integer represented as a double nearest to x in the prevailing mode. It doesn't appear in V7 Unix, but it is in Ultrix, find it under the entry for floor(). Allan Duncan ACSnet a.duncan@trl.oz (03) 541 6708 ARPA a.duncan%trl.oz.au@uunet.uu.net UUCP {uunet,hplabs,ukc}!munnari!trl.oz.au!a.duncan Telecom Research Labs, PO Box 249, Clayton, Victoria, 3168, Australia.