I need to bitwise shift a value 64 times in JavaScript. But JavaScript starts rounding after 32
.
For example:
for(var j = 0; j < 64;
JavaScript stores all its numbers as 64 bit initally, but as soon as you start using bitwise operators the interpreter converts the number to a 32 bit representation..
Bitwise operators are a bit hacky in JS and so annoyingly you will probably have to do something a bit more clever, like write your own 64 bit functions.