What's up with sinf()?
What's up with sinf()?
- Subject: What's up with sinf()?
- From: "John C. Randolph" <email@hidden>
- Date: Mon, 19 Nov 2001 08:38:30 -0800
Something a bit wierd: I'm getting link errors when I try to use sinf()
instead of sin(). They're both defined in <math.h>, and presumably in
the same library, aren't they? I'd just as soon use sinf(), since what
I'm doing doesn't require double precision.
What I'm doing BTW, is drawing gradients based on sinusoidal and
cylindrical curves scaled to a 256x256 square. If someone could point
me to a fixed-point sin function, I'd just as soon use that.
-jcr
"Computers in the future may weigh no more than 1.5 tons." - Popular
Mechanics, 1949