Log In  

sin(0.25) that as far as I understand resolve to sin(0.25 PI 2) returns -1 counter intuitive to traditional math +1

Is this intentional?

P#10093 2015-04-22 04:54 ( Edited 2015-05-15 11:52)

additional question:

is there atan2 hiding somewhere?

P#10097 2015-04-22 11:21 ( Edited 2015-04-22 15:21)

Yeah, seems odd. sin(PI/2) should return 1

P#10674 2015-05-15 03:21 ( Edited 2015-05-15 07:21)

For atan2 see: https://www.lexaloffle.com/bbs/?tid=1887
Not part of the engine yet, but probably will be.

P#10678 2015-05-15 07:52 ( Edited 2015-05-15 11:52)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 13:02:01 | 0.007s | Q:14