manpagez: man pages & more
man fmaxl(3)
Home | html | info | man
fmax(3)                  BSD Library Functions Manual                  fmax(3)


NAME

     fmax -- return maximum value


SYNOPSIS

     #include <math.h>

     double
     fmax(double x, double y);

     long double
     fmaxl(long double x, long double y);

     float
     fmaxf(float x, float y);


DESCRIPTION

     The fmax() functions return x or y, whichever is larger.


SPECIAL VALUES

     If exactly one argument is a NaN, fmax() returns the other argument. If
     both arguments are NaNs, fmax() returns a NaN.


SEE ALSO

     fdim(3), fma(3), fmin(3)


STANDARDS

     The fmax() functions conform to ISO/IEC 9899:1999(E).

BSD                            December 11, 2006                           BSD

Mac OS X 10.6 - Generated Thu Sep 17 20:19:47 CDT 2009
© manpagez.com 2000-2024
Individual documents may contain additional copyright information.