[LCP]Rounding questions

Andrew Weaver Andrew.Weaver at tecnomen.fi
Thu Sep 5 19:56:23 UTC 2002


Hmm... Did you link with the math library? 

On Thursday, September 05, 2002 12:15 PM, Chuck Martin
[SMTP:nrocinu at myrealbox.com] wrote:
> On Thu, Sep 05, 2002 at 11:46:11AM +0300, Andrew Weaver wrote:
> > Hmmm.... I couldn't find any reference to "round" on a GNU/Linux box.
It's
> > not in "math.h". What system are you using?
> 
> Slackware 8.1.  I couldn't find it in math.h, either, but neither could I
> find rint() in math.h, but it's supposed to be in there according to the
> man page.  I found them in tgmath.h, but using that in the #include
doesn't
> seem to work, and I'm not sure how portable it would be if it did.
> 
> Chuck
> 
> 
> _______________________________________________
> This is the Linux C Programming List
> :  http://lists.linux.org.au/listinfo/linuxcprogramming List




More information about the linuxCprogramming mailing list