Rounding Functions
- floor
Computes an integer value rounded towards minus infinity for each vector element.
- ceil
Computes an integer value rounded towards plus infinity for each vector element.
- trunc
Computes an integer value rounded towards zero for each vector element.
- round
Computes a value rounded to the nearest integer for each vector element.
- nearbyint
Computes a rounded integer value in the current rounding mode for each vector element.
- rint
Computes a rounded integer value in the current rounding mode.
- modf
Computes a truncated integer value and the remaining fraction part for each vector element.
- frac
Computes a signed fractional part for each vector element.