Float16¶
- class dsviper.Float16¶
Bases:
objectThe 16-bit storage of a float value, converted to and from float.
Note: Not directly instantiable.
- static from_float(v: float) int¶
Return the float16 as an unsigned int.
- static to_float(v: int) float¶
Return the float from an unsigned int representing a float16 storage.