scala-impatient
scala-impatient copied to clipboard
Change 2^32 to Math.pow(2,32)
The ^ operator is the bitwise XOR of the value, instead Math.pow() raises 2 to 32.
You could also use 1.toLong << 32 to get the same effect.