Skip to content

shz_equalf_rel

Markdown
SHZ_INLINE bool shz_equalf_rel(float a, float b) SHZ_NOEXCEPT;

Checks for equality based on the relative tolerance using SHZ_FLT_EPSILON.

NameTypeDescription
afloat
bfloat

bool

  • 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"