riscemu.types.float32 module
- class riscemu.types.float32.Float32(val: Union[float, c_float, Float32, bytes, bytearray, int] = 0)
Bases:
object
- property value: float
The value represented by this float
- property bytes: bytes
The values bit representation (as a bytes object)
- property bits: int
The values bit representation as an int (for easy bit manipulation)
- classmethod from_bytes(val: Union[int, bytes, bytearray])