Converts half type data to hifloat8_t type, and supports multiple rounding modes.
- ROUND rounding mode: round half up
- HYBRID rounding mode: refers to a stochastic rounding used when outputting hifloat8_t data
[object Object]
For details about vector data registers and mask registers, see .
None
PIPE_V
- Non-saturating mode:
- When the input data exceeds the maximum or minimum value of the output type, the corresponding signed inf value of the output type is returned.
- When the input data is +/-inf, +/-inf is returned.
- When the input data is nan, nan is returned.
- Saturating mode:
- When the input data exceeds the maximum or minimum value of the output type, the corresponding maximum or minimum value of the output type is returned.
- When the input data is +/-inf, the corresponding maximum or minimum value of the output type is returned.
- When the input data is nan, 0 is returned.
- To enable the saturating mode and non-saturating mode, you need to configure the ctrl register. For details about the ctrl register, see .
[object Object]