shz_signf
SHZ_INLINE float shz_signf(float x) SHZ_NOEXCEPT;Returns -1.0f if x < 0, 0.0f if x == 0, or 1.0f if x > 0.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
x | float |
Returns
Section titled “Returns”float
Availability
Section titled “Availability”- C++ equivalent:
shz::signf - Type-generic form: none
- Back-ends: SH4: shared C implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_scalar.h:188 - Module: Scalar, section "Mapping"