Previous Page
Next Page

fmin

Determines the lesser of two floating-point numbers

#include <math.h>
double fmin ( double x , double y  );
float fminf ( float x , float y  );
long double fminl ( long double x  , long double y  );

The fmin( ) functions return the value of the lesser argument.

Example

See the example for fmax( ).

See Also

fabs( ), fmax( )


Previous Page
Next Page