Skip to content

shz_inv_sqrtf_fsrra

Markdown
SHZ_INLINE float shz_inv_sqrtf_fsrra(float x) SHZ_NOEXCEPT;

Calculates 1.0f/sqrtf( x), using a fast approximation.

NameTypeDescription
xfloat

float

  • _fsrra: Uses FSRRA (fast approximate 1/sqrt(x)). The argument or denominator must be positive. Faster, less precise. (Naming and Suffixes)