View Single Post
  #2   Spotlight this post!  
Unread 04-02-2005, 20:53
schenkin schenkin is offline
Registered User
#0486
 
Join Date: Jan 2005
Location: Strath Haven High School
Posts: 17
schenkin is on a distinguished road
Re: Weird tangus value (i. e. tan(75)=27,XXX)

I have had the exact same problem before. I am pretty sure the problem occurs when it tries to change the float to an int. If you aren't doing that, make sure you are declaring the variable as an float when you printf() it. That fixed our problem anyway