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