Skip to content

shz_vec4_divf_fsrra

Markdown
SHZ_INLINE shz_vec4_t shz_vec4_divf_fsrra(shz_vec4_t num, float denom) SHZ_NOEXCEPT;

Returns a 4D vector whose component values are those of num divided by the scalar denom, using a fast approximation which requires denom to be positive.

NameTypeDescription
numshz_vec4_t
denomfloat

shz_vec4_t

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