Skip to content
Prev 8708 / 63421 Next

RNG.c: unif_rand, MARSAGLIA_MULTICARRY (PR#2437)

simardr@IRO.UMontreal.CA writes:
Did you actually try that? 

As far as I can see the first operand will be (32-bit binary)

xxxxxxxxxxxxxxxx0000000000000000

and the other one is

0000000000000000xxxxxxxxxxxxxxxx

so it is the same whether you add them or use bitwise OR or
bitwise XOR.