Skip to content

shz_fdimf

Markdown
SHZ_INLINE float shz_fdimf(float x, float y) SHZ_NOEXCEPT;

Replacement for the <math.h> routine, fdimf(),.

NameTypeDescription
xfloat
yfloat

float

Returns the positive difference between x and y or zero if y >= x.

  • Unlike fdimf(), this routine does not handle INF and NAN values.
  • C++ equivalent: shz::fdimf
  • Type-generic form: none
  • Back-ends: SH4: shared C implementation · SW: portable C · SPU: shared C implementation
  • Defined in: sh4zam/shz_scalar.h:228
  • Module: Scalar, section "Miscellaneous"