Standards / Extensions | C or C++ | Dependencies |
---|---|---|
C/C++ DFP | both | z/OS® V1.8 |
#define __STDC_WANT_DEC_FP__
#include <math.h>
_Decimal32 fmind32(_Decimal32 x, _Decimal32 y);
_Decimal64 fmind64(_Decimal64 x, _Decimal64 y);
_Decimal128 fmind128(_Decimal128 x, _Decimal128 y);
_Decimal32 fmin(_Decimal32 x, _Decimal32 y); /* C++ only */
_Decimal64 fmin(_Decimal64 x, _Decimal64 y); /* C++ only */
_Decimal128 fmin(_Decimal128 x, _Decimal128 y); /* C++ only */
If successful, they return the minimum numeric value of their arguments.
/* CELEBF70
This example illustrates the fmind32() function
*/