summaryrefslogtreecommitdiffstats
path: root/man3/fmax.3
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--man3/fmax.313
1 files changed, 6 insertions, 7 deletions
diff --git a/man3/fmax.3 b/man3/fmax.3
index 1133432..8f502dd 100644
--- a/man3/fmax.3
+++ b/man3/fmax.3
@@ -5,7 +5,7 @@
.\"
.\" SPDX-License-Identifier: GPL-1.0-or-later
.\"
-.TH fmax 3 2023-07-20 "Linux man-pages 6.05.01"
+.TH fmax 3 2023-10-31 "Linux man-pages 6.7"
.SH NAME
fmax, fmaxf, fmaxl \- determine maximum of two floating-point numbers
.SH LIBRARY
@@ -14,17 +14,17 @@ Math library
.SH SYNOPSIS
.nf
.B #include <math.h>
-.PP
+.P
.BI "double fmax(double " x ", double " y );
.BI "float fmaxf(float " x ", float " y );
.BI "long double fmaxl(long double " x ", long double " y );
.fi
-.PP
+.P
.RS -4
Feature Test Macro Requirements for glibc (see
.BR feature_test_macros (7)):
.RE
-.PP
+.P
.BR fmax (),
.BR fmaxf (),
.BR fmaxl ():
@@ -41,9 +41,9 @@ These functions return the maximum of
.I x
and
.IR y .
-.PP
+.P
If one argument is a NaN, the other argument is returned.
-.PP
+.P
If both arguments are NaN, a NaN is returned.
.SH ERRORS
No errors occur.
@@ -63,7 +63,6 @@ T{
.BR fmaxl ()
T} Thread safety MT-Safe
.TE
-.sp 1
.SH STANDARDS
C11, POSIX.1-2008.
.SH HISTORY