Skip to content
Snippets Groups Projects
Commit 3af4d7ea authored by Alan Schmitt's avatar Alan Schmitt Committed by Thomas Wood
Browse files

correct modulo_32

parent ab0ec58f
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,7 @@ var JsNumber = {
absolute : function (x) { return Math.abs(x); },
fmod : function (x, y) { return x % y; },
modulo_32 : function (x) { return x % (1 << 32); }, // TODO check !
modulo_32 : function (x) { return x & 0x1F; },
zero : 0.0,
neg_zero : -0.0,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment