Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/numpy/numpy
/ uint32_to_float32
Function
uint32_to_float32
numpy/random/tests/test_direct.py:60–61 ·
view source on GitHub ↗
(u)
Source
from the content-addressed store, hash-verified
58
59
60
def
uint32_to_float32(u):
61
return
((u >> np.uint32(8)) * (1.0 / 2**24)).astype(np.float32)
62
63
64
def
uniform32_from_uint64(x):
Callers
3
uniform32_from_uint64
Function · 0.85
uniform32_from_uint53
Function · 0.85
uniform32_from_uint32
Function · 0.85
Calls
1
astype
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…