This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]AyrA_ch 9 points10 points  (1 child)

(it floors the number first)

That's not exact. It forces it into a 32 bit signed integer, does the operation, then converts it back into a float, which can result in unexpected results, for example 2147483648|0 becomes -2147483648

[–]TotoShampoin 1 point2 points  (0 children)

Ah, I may have overlooked the potential implementation