FMIN(3) | Library Functions Manual | FMIN(3) |
fmin
— return
minimum value
#include
<math.h>
double
fmin
(double
x, double y);
long double
fminl
(long
double x, long double
y);
float
fminf
(float
x, float y);
The
fmin
()
functions return x or y, whichever is smaller.
If exactly one argument is a NaN, fmin
()
returns the other argument. If both arguments are NaNs,
fmin
() returns a NaN.
The fmin
() functions conform to ISO/IEC
9899:2011.
December 11, 2006 | macOS 14.6 |