shz_equalf
SHZ_INLINE bool shz_equalf(float a, float b) SHZ_NOEXCEPT;Checks for equality based on EITHER the absolute tolerance or 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 - Type-generic form: none
- Back-ends: SH4: shared C implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_scalar.h:56 - Module: Scalar, section "Comparisons"