NAME
fmax, fmaxf, fmaxl - determine maximum of two floating-point numbers
SYNOPSIS
#include <math.h> double fmax(double x, double y); float fmaxf(float x, float y); long double fmaxl(long double x, long double y); Link with -lm. Feature Test Macro Requirements for glibc (see feature_test_macros(7)): fmax(), fmaxf(), fmaxl(): _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L
DESCRIPTION
These functions return the larger value of x and y.
RETURN VALUE
These functions return the maximum of x and y. If one argument is a NaN, the other argument is returned. If both arguments are NaN, a NaN is returned.
ERRORS
No errors occur.
VERSIONS
These functions first appeared in glibc in version 2.1.
ATTRIBUTES
For an explanation of the terms used in this section, see attributes(7). ┌─────────────────────────┬───────────────┬─────────┐ │Interface │ Attribute │ Value │ ├─────────────────────────┼───────────────┼─────────┤ │fmax(), fmaxf(), fmaxl() │ Thread safety │ MT-Safe │ └─────────────────────────┴───────────────┴─────────┘
CONFORMING TO
C99, POSIX.1-2001, POSIX.1-2008.
SEE ALSO
fdim(3), fmin(3)
COLOPHON
This page is part of release 4.09 of the Linux man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at https://www.kernel.org/doc/man-pages/. 2016-07-17 FMAX(3)
More Linux Commands
manpages/gnutls_session_set_ptr.3.html
gnutls_session_set_ptr(3) - API function - Linux man page...
This function will set (associate) the user given pointer ptr to the session structure. This is pointer can be accessed with gnutls_session_get_ptr(). REPORTING
manpages/gnutls_hex_encode.3.html
gnutls_hex_encode(3) - API function - Linux manual page.....
This function will convert the given data to printable data, using the hex encoding, as used in the PSK password files. RETURNS GNUTLS_E_SHORT_MEMORY_BUFFER if
manpages/pthread_create.3.html
pthread_create(3) - create a new thread - Linux manual page
The pthread_create() function starts a new thread in the calling process. The new thread starts execution by invoking start_routine(); arg is passed as the sole
manpages/git-cherry-pick.1.html
git-cherry-pick(1) - Apply the changes introduced by some ex
Given one or more existing commits, apply the change each one introduces, recording a new commit for each. This requires your working tree to be clean (no modif
manpages/xdr_bool.3.html
xdr_bool(3) - library routines for external data representat
These routines allow C programmers to describe arbitrary data structures in a machine-independent fashion. Data for remote procedure calls are transmitted using
manpages/mrtglib.1.html
mrtglib(1) Library for MRTG and support scripts (Man Page)
MRTG_lib is part of MRTG , the Multi Router Traffic Grapher. It was separated from MRTG to allow other programs to easily use the same config files. The main pa
manpages/mcs.1.html
mcs(1) - Mono C# Compiler (1.0, 2.0, Moonlight) (Man Page)
mcs is the Mono C# compiler, an implementation of the ECMA-334 language specification. You can pass one or more options to drive the compiler, and a set of sour
manpages/startpar.8.html
startpar(8) - start runlevel scripts in parallel (Man Page)
startpar is used to run multiple run-level scripts in parallel. The degree of parallelism on one CPU can be set with the -p option, the default is full parallel
manpages/msgattrib.1.html
msgattrib(1) - attribute matching and manipulation on messag
Filters the messages of a translation catalog according to their attributes, and manipulates the attributes. Mandatory arguments to long options are mandatory f
manpages/fts.3.html
fts(3) - traverse a file hierarchy - Linux manual page......
The fts functions are provided for traversing file hierarchies. A simple overview is that the fts_open() function returns a handle on a file hierarchy, which is
manpages/bounce.8.html
bounce(8) - Postfix delivery status reports - Linux man page
The bounce(8) daemon maintains per-message log files with delivery status information. Each log file is named after the queue file that it corresponds to, and i
manpages/XtGrabPointer.3.html
XtGrabPointer(3) - manage grabs (Library - Linux man page)
XtGrabKey calls XGrabKey specifying the widgets window as the grab window if the widget is realized. The remaining arguments are exactly as for XGrabKey. If the
