shz_divf_fsrra
SHZ_INLINE float shz_divf_fsrra(float num, float denom) SHZ_NOEXCEPT;Divides num by denom using a very fast approximation, which requires denom be a positive value.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
num | float | |
denom | 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::divf_fsrra - Type-generic form: none
- Back-ends: SH4: shared C implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_scalar.h:295 - Module: Scalar, section "FSRRA"