Table of Contents
Previous Section Next Section

fmax

#include <math.h>float fmaxf(float a, float b);double fmax(double a, double b);
long double fmaxl(long double a, long double b);

fmax( ), fmaxf( ), and fmaxl( ) were defined by C99.

The fmax( ) family of functions returns the greater of a and b.

A related function is fmin( ).


Table of Contents
Previous Section Next Section