shz_fdimf
SHZ_INLINE float shz_fdimf(float x, float y) SHZ_NOEXCEPT;Replacement for the <math.h> routine, fdimf(),.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
x | float | |
y | float |
Returns
Section titled “Returns”float
Details
Section titled “Details”Returns the positive difference between x and y or zero if y >= x.
Warnings
Section titled “Warnings”- Unlike fdimf(), this routine does not handle INF and NAN values.
Availability
Section titled “Availability”- 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"