Sin and Cos outputting the wrong number
|
|
Not a bug
BYOND Version: | 471 |
Operating System: | Windows Vista Home Basic 64-bit |
Web Browser: | Chrome 5.0.375.99 |
Applies to: | Dream Maker |
|
Status: |
Not a bug
This is not a bug. It may be an incorrect use of syntax or a limitation in the software. For further discussion on the matter, please consult the BYOND forums.
|
|
|
mob/verb/sintest() for(var/i = 0 to 360)world<<"sin([i]) = [sin(i)]" mob/verb/costest() for(var/i = 0 to 360)world<<"cos([i]) = [cos(i)]"
sin(180) = -8.74228e-008
sin(360) = 1.74846e-007
cos(90) = -4.37114e-008
cos(270) = 1.19249e-008
I don't know if any of the other angle were screwed up. I scanned through for any odd looking ones.
|