Open Aivean opened 1 year ago
Still broken
3175402278 = BD44CB26 -1119565018 = BD44CB26
Not "broken", but "broken".
random() creates unsigned integers, while parse() creates signed integers.
Convert negative integer to its two's complement via unsigned right shift: integer >>>= 0
JSFiddle: http://jsfiddle.net/c5xf6hbd/
Repro:
Produces:
Works in v3.x.x