Code
Hub
Trending
Following
Digest
Workspaces
Connect
Indexed
MCP
copy
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
73
def
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
79
def
uniform32_from_uint32(x):
Callers
1
uniform32_from_uint
Function · 0.85
Calls
1
uint32_to_float32
Function · 0.85
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…