#`math.sin()` on a `i32`?
1 messages · Page 1 of 1 (latest)
1 messages · Page 1 of 1 (latest)
sin returns a number between 0 and 1. Not sure what you want to do but integers cannot represent that at all
maybe he meant fixed point mapping -2^31,2^31-1 to -1,1
I dont see how that would be useful in any math
perhaps in fixed-point math?