to_half_float_uint16
to_half_float_uint16(val) ⇒ number
Converts float32 to float16 (encoded as uint16 value).
Kind: global function
| Param | Type |
|---|---|
| val | number |
numberConverts float32 to float16 (encoded as uint16 value).
Kind: global function
| Param | Type |
|---|---|
| val | number |