On 13 Jul '08, at 7:10 AM, Michael Vannorsdel wrote:

I don't think it's the cause but you should probably use tanf to avoid value casting to and from a double.

Rather, he should be using double instead of float, since he needs more precision. As one of the other Michaels on this thread pointed out, floats only have 23 bits of precision in the mantissa, while doubles have something like 47.

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to