on page 61 of Diablo16 Internal function Manual , section 2.3.5 SIN(angle) is example:
var myvar, angle;
angle := 133;
myvar := SIN(angle);
This example returns 92 in variable myvar.
OK, I assume, the variables myvar and angle are integers.
That's a problem because sin (133) is 0.7341 and that is not an integer.
Beside it, sin (133) is not 92 ....
My question: purpose of this function ?
var myvar, angle;
angle := 133;
myvar := SIN(angle);
This example returns 92 in variable myvar.
OK, I assume, the variables myvar and angle are integers.
That's a problem because sin (133) is 0.7341 and that is not an integer.
Beside it, sin (133) is not 92 ....
My question: purpose of this function ?
Comment