shz_invf
SHZ_INLINE float shz_invf(float x) SHZ_NOEXCEPT;Takes the inverse of x using a slighty faster approximation than doing a full division, safely handling negative values.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
x | float |
Returns
Section titled “Returns”float
Availability
Section titled “Availability”- C++ equivalent:
shz::invf,shz::operator/,shz::quat::operator/= - Type-generic form: none
- Back-ends: SH4: shared C implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_scalar.h:292 - Module: Scalar, section "FSRRA"