fmaximum_numl3
Floating-point maximum and minimum number functions
Part of fmaximum_num(3).
Usage
double
float
long double
double
float
long double
Library
Math Library (libm, -lm)
Overview
The fmaximum_num(), fmaximum_numf(), and fmaximum_numl() functions determine the larger of x and y, preferring a numeric value over an . If one argument is a numeric value and the other is an , the numeric value is returned. If both arguments are numeric, the larger value is returned. If both arguments are s, a quiet is returned. For the purpose of these functions, positive zero is considered greater than negative zero.
Likewise, the fminimum_num(), fminimum_numf(), and fminimum_numl() functions determine the smaller of x and y, preferring a numeric value over an . If one argument is a numeric value and the other is an , the numeric value is returned. If both arguments are numeric, the smaller value is returned. If both arguments are s, a quiet is returned. For the purpose of these functions, negative zero is considered less than positive zero.
Unlike with the fmaximum(3) and fmaximum_mag(3) families of functions, if either argument is a signaling , an invalid exception is raised. Otherwise, these routines do not raise any floating-point exceptions.