cos result incorrect

Posted by suk on Stack Overflow See other posts from Stack Overflow or by suk
Published on 2010-06-14T07:02:56Z Indexed on 2010/06/14 7:12 UTC
Read the original article Hit count: 307

Filed under:
|

I import "math.h".

I can use the cos function, but when I execute cos(0.321139585333178) the result is 0.948876

If I use the calculator in Mac or use a normal calculator, the result is 0.999984292347418

Can anyone help me to solve that problem?

© Stack Overflow or respective owner

Related posts about cosine

Related posts about incorrect