• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
What's up with sinf()?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Can I destine different customer view class for one customer view?
  • Next by Date: Re: Drawer in Drawer
  • Previous by thread: Re: Can I destine different customer view class for one customer view?
  • Next by thread: Re: What's up with sinf()?
  • Index(es):
    • Date
    • Thread