FMIN(3) Library Functions Manual FMIN(3)

fminreturn 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 () 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.

fdim(3), fma(3), fmax(3)

The fmin() functions conform to ISO/IEC 9899:2011.

December 11, 2006 Mac OS X 12