Searched refs:RECIP_BPF (Results 1 - 2 of 2) sorted by relevance

/external/python/cpython2/Lib/
H A Drandom.py63 RECIP_BPF = 2**-BPF variable
815 return (long(_hexlify(_urandom(7)), 16) >> 3) * RECIP_BPF
/external/python/cpython3/Lib/
H A Drandom.py62 RECIP_BPF = 2**-BPF variable
673 return (int.from_bytes(_urandom(7), 'big') >> 3) * RECIP_BPF

Completed in 112 milliseconds