shz_equalf_rel
SHZ_INLINE bool shz_equalf_rel(float a, float b) SHZ_NOEXCEPT;Checks for equality based on the relative tolerance using SHZ_FLT_EPSILON.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
a | float | |
b | float |
Returns
Section titled “Returns”bool
Availability
Section titled “Availability”- C++ equivalent:
shz::equalf_rel - Type-generic form: none
- Back-ends: SH4: shared C implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_scalar.h:62 - Module: Scalar, section "Comparisons"