MCPcopy Index your code
hub / github.com/numpy/numpy / uniform32_from_uint53

Function uniform32_from_uint53

numpy/random/tests/test_direct.py:73–76  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

71
72
73def uniform32_from_uint53(x):
74 x = np.uint64(x) >> np.uint64(16)
75 x = np.uint32(x & np.uint64(0xffffffff))
76 return uint32_to_float32(x)
77
78
79def uniform32_from_uint32(x):

Callers 1

uniform32_from_uintFunction · 0.85

Calls 1

uint32_to_float32Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…