Skip to content

shz_vec4_inv_fsrra

Markdown
SHZ_INLINE shz_vec4_t shz_vec4_inv_fsrra(shz_vec4_t vec) SHZ_NOEXCEPT;

Returns the 4D vector whose components have been reciprocated, using a fast approximation which requires positive components.

NameTypeDescription
vecshz_vec4_t

shz_vec4_t

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