shz_vec4_divf_fsrra
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.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
num | shz_vec4_t | |
denom | float |
Returns
Section titled “Returns”shz_vec4_t
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::vec4::divf_fsrra - Type-generic form:
shz_vec_divf_fsrra() - Back-ends: SH4: shared C implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_vector.h:451 - Module: Vector, section "Arithmetic"