Table of Contents
Previous Section Next Section

fmin

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

fmin( ), fminf( ), and fminl( ) were defined by C99.

The fmin( ) family of functions returns the lesser of a and b.

A related function is fmax( ).


Table of Contents
Previous Section Next Section