Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/fory
/ _to_float32
Function
_to_float32
python/pyfory/converter.py:192–193 ·
view source on GitHub ↗
(value: float)
Source
from the content-addressed store, hash-verified
190
191
192
def
_to_float32(value: float) -> float:
193
return
_struct.unpack(
">f"
, _struct.pack(
">f"
, value))[0]
194
195
196
def
_to_float_domain(value: float, type_id: int) -> float:
Callers
1
_to_float_domain
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected