floatBits (Function)
Signature: floatBits(x: float) -> int
Description: The binary64 word of x as an int: a bitcast, preserving NaN payloads, signed zeros and infinities.
Parameters
- x (
float): The float to view
Returns: int
Example
print(floatBits(1.0)) // 4607182418800017408
print (floatBits 1.0) // 4607182418800017408