diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2013-04-02 13:51:02 +0200 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2013-04-02 13:51:02 +0200 |
commit | 572676160d5639edc0ecb663147bd291841458d1 (patch) | |
tree | 26abea75b21e81f568075075249aa3dbedad20c7 /manual | |
parent | 60c414c346a1d5ef0510ffbdc0ab75f288ee4d3f (diff) | |
download | glibc-572676160d5639edc0ecb663147bd291841458d1.tar.gz |
New <math.h> macro named issignaling to check for a signaling NaN (sNaN).
It is based on draft TS 18661 and currently enabled as a GNU extension.
Diffstat (limited to 'manual')
-rw-r--r-- | manual/arith.texi | 8 | ||||
-rwxr-xr-x | manual/libm-err-tab.pl | 4 |
2 files changed, 11 insertions, 1 deletions
diff --git a/manual/arith.texi b/manual/arith.texi index d060ff9463..ce8844ec2d 100644 --- a/manual/arith.texi +++ b/manual/arith.texi @@ -387,6 +387,14 @@ to @end smallexample @end deftypefn +@comment math.h +@comment GNU +@deftypefn {Macro} int issignaling (@emph{float-type} @var{x}) +This macro returns a nonzero value if @var{x} is a signaling NaN +(sNaN). It is based on draft TS 18661 and currently enabled as a GNU +extension. +@end deftypefn + Another set of floating-point classification functions was provided by BSD. @Theglibc{} also supports these functions; however, we recommend that you use the ISO C99 macros in new code. Those are standard diff --git a/manual/libm-err-tab.pl b/manual/libm-err-tab.pl index 5aa26039ac..15646693fe 100755 --- a/manual/libm-err-tab.pl +++ b/manual/libm-err-tab.pl @@ -77,7 +77,9 @@ use vars qw (%results @all_floats %suffices @all_functions); "remainder", "remquo", "rint", "round", "scalb", "scalbn", "scalbln", "sin", "sincos", "sinh", "sqrt", "tan", "tanh", "tgamma", "trunc", "y0", "y1", "yn" ); -# "fpclassify", "isfinite", "isnormal", "signbit" are not tabulated +# fpclassify, isnormal, isfinite, isinf, isnan, issignaling, signbit, +# isgreater, isgreaterequal, isless, islessequal, islessgreater, isunordered +# are not tabulated. if ($#ARGV == 0) { $sources = $ARGV[0]; |