Re: Trigonometric Problem, Particularly tan() Function
Re: Trigonometric Problem, Particularly tan() Function
- Subject: Re: Trigonometric Problem, Particularly tan() Function
- From: "Dave DeLong" <email@hidden>
- Date: Sat, 12 Jul 2008 22:34:15 -0600
I know this may seem like a silly question, but are you passing in the
value to tan() in degrees or radians?
Dave
On Sat, Jul 12, 2008 at 10:30 PM, Patrick Walker
<email@hidden> wrote:
> For some reason, using standard trigonometric functions are not behaving as
> they should once you hit 90 degrees. I'm not importing another
> framework/library and assuming the ones I'm calling are the same ones found
> in the standby "math.h". The functions return correct values until you
> reach odd multiples of 90 degrees when one should not be getting finite
> values as I am getting.
>
> I'm assuming that the functions that I am using are basically from math.h
> and using a Taylor-like numerical method.
>
> Any suggestions or alternatives? I've looked/searched through the
> documentation and have not found any other options.
>
> Thank you for your time.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden