Talk:Pseudo-random numbers/PCG32: Difference between revisions
m
no edit summary
Walterpachl (talk | contribs) m (→Help needed) |
mNo edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 109:
</pre>
doing the shif1t 18, the and, and the shift 27 gives me 402944 -:(
and was wrong!
oops. my fault. I do get -671065735 if I use xor instead of the and!!!!
I do hope the end is nigh!
--Walter Pachl 20:37, 27 February 2021 (UTC)
I just tested this in Java 8 (1.8) and the behavior you got only happens with two ints, and the larger number happens if either is a long. --[[User:Wherrera|Wherrera]] ([[User talk:Wherrera|talk]]) 23:42, 27 February 2021 (UTC)
|