Synopsis
#include <math.h>
double fmin(double x, double y);
Description

fmin determines the minimum of x and y.

IEC 60559 math library behavior

fmin(NaN, y) is y.
fmin(x, NaN) is x.

Portability

fmin conforms to ISO/IEC 9899:1999 (C99).