mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Update RapydScript
This commit is contained in:
parent
4726f10627
commit
fcd533a21c
Binary file not shown.
@ -48,7 +48,7 @@ def random():
|
|||||||
for i in range(8):
|
for i in range(8):
|
||||||
n += ρσ_get_random_byte() * m
|
n += ρσ_get_random_byte() * m
|
||||||
m *= 256
|
m *= 256
|
||||||
return n / 18446744073709551616
|
return v'n / 0x10000000000000000'
|
||||||
|
|
||||||
# unlike the python version, this DOES build a range object, feel free to reimplement
|
# unlike the python version, this DOES build a range object, feel free to reimplement
|
||||||
def randrange():
|
def randrange():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user