[LCP]Rounding questions

Chuck Martin nrocinu at myrealbox.com
Thu Sep 5 19:16:22 UTC 2002


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





More information about the linuxCprogramming mailing list