mirror of https://github.com/mkerrisk/man-pages
fdim.3, fma.3, fmax.3, fmin.3, fpclassify.3, lrint.3, lround.3, signbit.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
b27145f898
commit
f1f0e4ed95
|
@ -25,9 +25,13 @@ Feature Test Macro Requirements for glibc (see
|
|||
.ad l
|
||||
.BR fdimf (),
|
||||
.BR fdiml ():
|
||||
_XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE; or
|
||||
.RS 4
|
||||
_XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE;
|
||||
.br
|
||||
or
|
||||
.I cc\ -std=c99
|
||||
.ad b
|
||||
.RE
|
||||
.ad
|
||||
.SH DESCRIPTION
|
||||
These functions return the positive difference, max(\fIx\fP-\fIy\fP,0),
|
||||
between their arguments.
|
||||
|
|
|
@ -30,9 +30,13 @@ Feature Test Macro Requirements for glibc (see
|
|||
.BR fma (),
|
||||
.BR fmaf (),
|
||||
.BR fmal ():
|
||||
_XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE; or
|
||||
.RS 4
|
||||
_XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE;
|
||||
.br
|
||||
or
|
||||
.I cc\ -std=c99
|
||||
.ad b
|
||||
.RE
|
||||
.ad
|
||||
.SH DESCRIPTION
|
||||
The
|
||||
.BR fma ()
|
||||
|
|
|
@ -26,9 +26,13 @@ Feature Test Macro Requirements for glibc (see
|
|||
.BR fmax (),
|
||||
.BR fmaxf (),
|
||||
.BR fmaxl ():
|
||||
_XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE; or
|
||||
.RS 4
|
||||
_XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE;
|
||||
.br
|
||||
or
|
||||
.I cc\ -std=c99
|
||||
.ad b
|
||||
.RE
|
||||
.ad
|
||||
.SH DESCRIPTION
|
||||
These functions return the larger value of
|
||||
.I x
|
||||
|
|
|
@ -26,9 +26,13 @@ Feature Test Macro Requirements for glibc (see
|
|||
.BR fmin (),
|
||||
.BR fminf (),
|
||||
.BR fminl ():
|
||||
_XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE; or
|
||||
.RS 4
|
||||
_XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE;
|
||||
.br
|
||||
or
|
||||
.I cc\ -std=c99
|
||||
.ad b
|
||||
.RE
|
||||
.ad
|
||||
.SH DESCRIPTION
|
||||
These functions the lesser value of
|
||||
.I x
|
||||
|
|
|
@ -35,17 +35,22 @@ Feature Test Macro Requirements for glibc (see
|
|||
.BR fpclassify (),
|
||||
.BR isfinite (),
|
||||
.BR isnormal ():
|
||||
_XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE; or
|
||||
.RS 4
|
||||
_XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE;
|
||||
.br
|
||||
or
|
||||
.I cc\ -std=c99
|
||||
.br
|
||||
.BR isnan ():
|
||||
.RS 4
|
||||
_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE || _ISOC99_SOURCE; or
|
||||
.I cc\ -std=c99
|
||||
.br
|
||||
.BR isinf ():
|
||||
_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE; or
|
||||
.I cc\ -std=c99
|
||||
.ad b
|
||||
.RE
|
||||
.ad
|
||||
.SH DESCRIPTION
|
||||
Floating point numbers can have special values, such as
|
||||
infinite or NaN.
|
||||
|
|
|
@ -51,9 +51,13 @@ Feature Test Macro Requirements for glibc (see
|
|||
.sp
|
||||
.ad l
|
||||
All functions shown above:
|
||||
_XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE; or
|
||||
.RS 4
|
||||
_XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE;
|
||||
.br
|
||||
or
|
||||
.I cc\ -std=c99
|
||||
.ad b
|
||||
.RE
|
||||
.ad
|
||||
.SH DESCRIPTION
|
||||
These functions round their argument to the nearest integer value,
|
||||
using the current rounding direction (see
|
||||
|
|
|
@ -52,9 +52,13 @@ Feature Test Macro Requirements for glibc (see
|
|||
.sp
|
||||
.ad l
|
||||
All functions shown above:
|
||||
_XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE; or
|
||||
.RS 4
|
||||
_XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE;
|
||||
.br
|
||||
or
|
||||
.I cc\ -std=c99
|
||||
.ad b
|
||||
.RE
|
||||
.ad
|
||||
.SH DESCRIPTION
|
||||
These functions round their argument to the nearest integer value,
|
||||
rounding away from zero,
|
||||
|
|
|
@ -20,9 +20,13 @@ Feature Test Macro Requirements for glibc (see
|
|||
.sp
|
||||
.ad l
|
||||
.BR signbit ():
|
||||
_XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE; or
|
||||
.RS 4
|
||||
_XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE;
|
||||
.br
|
||||
or
|
||||
.I cc\ -std=c99
|
||||
.ad b
|
||||
.RE
|
||||
.ad
|
||||
.SH DESCRIPTION
|
||||
.BR signbit ()
|
||||
is a generic macro which can work on all real floating-point types.
|
||||
|
|
Loading…
Reference in New Issue