You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_unsigned32 can now be: return n1.toUnsigned(32);
and if the operands of _multiplication32() are always positive 32 bit integers it seems like: return (n1 * n2) & 0xFFFFFFFFFF is correct? (64 bit overflow in dart truncated down to 32 bits). This matches another implementation I'm trying to sync up with.
Actually, that will fail on Dart for web which doesn't have true 64 bit ints. The following emulates what the JS Mersenne Twister impl does and produces output consistent with it on native and web:
and this lib is not matching others. I'm looking into a fix.
The text was updated successfully, but these errors were encountered: