Talk:Pseudo-random numbers/Combined recursive generator MRG32k3a: Difference between revisions
Talk:Pseudo-random numbers/Combined recursive generator MRG32k3a (view source)
Revision as of 10:45, 14 August 2020
, 3 years ago→Modulo strikes again
(modulo operator) |
|||
Line 1:
==Modulo strikes again==
Just a heads up: Python (the reference implementation) is one of those languages whose modulo operator returns the same sign as the divisor. In most languages, the modulo operator returns the same sign as the dividend. You'll get
|