mirror of
https://github.com/TACIXAT/XorShift128Plus
synced 2025-04-29 21:03:10 +00:00
Fixing some comments.
This commit is contained in:
parent
05f0cd3a93
commit
5890bf23b6
@ -2,7 +2,7 @@ import sys
|
|||||||
import math
|
import math
|
||||||
import struct
|
import struct
|
||||||
import random
|
import random
|
||||||
sys.path.append('/home/taxicat/prog/z3/build')
|
sys.path.append('/home/dgoddard/tools/z3/build')
|
||||||
from z3 import *
|
from z3 import *
|
||||||
|
|
||||||
# xor_shift_128_plus algorithm
|
# xor_shift_128_plus algorithm
|
||||||
@ -64,7 +64,7 @@ def xs128p_backward(state0, state1):
|
|||||||
# Print 'last seen' random number
|
# Print 'last seen' random number
|
||||||
# and winning numbers following that.
|
# and winning numbers following that.
|
||||||
# This was for debugging. We know that Math.random()
|
# This was for debugging. We know that Math.random()
|
||||||
# is called in the browser twice for each page click
|
# is called in the browser zero times (updated) for each page click
|
||||||
# in Chrome and once for each page click in Firefox.
|
# in Chrome and once for each page click in Firefox.
|
||||||
# Since we have to click once to enter the numbers
|
# Since we have to click once to enter the numbers
|
||||||
# and once for Play, we indicate the winning numbers
|
# and once for Play, we indicate the winning numbers
|
||||||
|
Loading…
x
Reference in New Issue
Block a user