shz_inv_sqrtf_fsrra
SHZ_INLINE float shz_inv_sqrtf_fsrra(float x) SHZ_NOEXCEPT;Calculates 1.0f/sqrtf( x), using a fast approximation.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
x | float |
Returns
Section titled “Returns”float
Naming and requirements
Section titled “Naming and requirements”_fsrra: UsesFSRRA(fast approximate 1/sqrt(x)). The argument or denominator must be positive. Faster, less precise. (Naming and Suffixes)
Availability
Section titled “Availability”- C++ equivalent:
shz::inv_sqrtf_fsrra - Type-generic form: none
- Back-ends: SH4: dedicated SH4 implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_scalar.h:277 - Module: Scalar, section "FSRRA"