shz_sqrtf
SHZ_INLINE float shz_sqrtf(float x) SHZ_NOEXCEPT;Returns the fast approximate square root of the given value, x, safely returning 0.0f is x == 0.0f.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
x | float |
Returns
Section titled “Returns”float
Availability
Section titled “Availability”- C++ equivalent:
shz::sqrtf - Type-generic form: none
- Back-ends: SH4: shared C implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_scalar.h:286 - Module: Scalar, section "FSRRA"