FMAX 3CW "09 March 2006" "mathcw-1.00"

Table of contents


NAME

fmaxf, fmax, fmaxl, fmaxw, fmaxq, fmaxll, fmaxdf, fmaxd, fmaxdl, fmaxdll - determine maximum numeric value of two floating-point numbers

SYNOPSIS

cc [ flags ] -I/usr/local/include file(s) -L/usr/local/lib -lmcw [ ... ]

#include <mathcw.h>

extern float fmaxf (float x, float y);

extern double fmax (double x, double y);

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

extern __float80 fmaxw (__float80 x, __float80 y);

extern __float128 fmaxq (__float128 x, __float128 y);

extern long_long_double fmaxll (long_long_double x, long_long_double y);

extern decimal_float fmaxdf (decimal_float x, decimal_float y);

extern decimal_double fmaxd (decimal_double x, decimal_double y);

extern decimal_long_double fmaxdl (decimal_long_double x, decimal_long_double y);

extern decimal_long_long_double fmaxdll (decimal_long_long_double x, decimal_long_long_double y);

NB: Functions with prototypes containing underscores in type names may be available only with certain extended compilers.


DESCRIPTION

Compute the maximum numeric value of the two arguments, but treat NaN arguments as missing values.

RETURN VALUES

The value returned is the larger of the arguments if neither is a NaN, and otherwise, it is the other argument (which might itself be a NaN).

ERRORS

None.

SEE ALSO

fmin(3CW).