|
|
HP-UX Reference > Ffmax(3M)HP-UX 11i Version 2: December 2007 Update |
|
NAMEfmax(), fmaxf(), fmaxl(), fmaxw(), fmaxq() — maximum value functions DESCRIPTIONThe fmax() function determines the maximum numeric value of its arguments. Itanium-based System Onlyfmaxf() is a float version of fmax(); it takes float arguments and returns a float result. fmaxl() is a long double version of fmax(); it takes long double arguments and returns a long double result. fmaxw() is an extended version of fmax(); it takes extended arguments and returns an extended result. fmaxq() is equivalent to fmaxl() on HP-UX systems. USAGETo use this function, compile either with the default -Ae option or with the -Aa and -D_HPUX_SOURCE options. To use (for Itanium-based systems) fmaxw() or fmaxq(), compile with the -fpwidetypes option. Make sure your program includes <math.h>. Link in the math library by specifying -lm on the compiler or linker command line. |
|