shz_floorf
SHZ_INLINE float shz_floorf(float x) SHZ_NOEXCEPT;Replacement for the <math.h> routine, floorf().
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
x | float |
Returns
Section titled “Returns”float
Details
Section titled “Details”Returns the closest integral value to x, rounded down, as a float.
Warnings
Section titled “Warnings”- This routine is only valid for for the range INT32_MIN <=
x<= INT32_MAX.
Availability
Section titled “Availability”- C++ equivalent:
shz::floorf - Type-generic form: none
- Back-ends: SH4: shared C implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_scalar.h:80 - Module: Scalar, section "Rounding"