MCPcopy
hub / github.com/numpy/numpy / uniform_from_uint

Function uniform_from_uint

numpy/random/tests/test_direct.py:94–98  ·  view source on GitHub ↗
(x, bits)

Source from the content-addressed store, hash-verified

92
93
94def uniform_from_uint(x, bits):
95 if bits in (64, 63, 53):
96 return uniform_from_uint64(x)
97 elif bits == 32:
98 return uniform_from_uint32(x)
99
100
101def uniform_from_uint64(x):

Callers 1

test_uniform_doubleMethod · 0.85

Calls 2

uniform_from_uint64Function · 0.85
uniform_from_uint32Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…