From 572676160d5639edc0ecb663147bd291841458d1 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Tue, 2 Apr 2013 13:51:02 +0200 Subject: New macro named issignaling to check for a signaling NaN (sNaN). It is based on draft TS 18661 and currently enabled as a GNU extension. --- manual/arith.texi | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'manual/arith.texi') diff --git a/manual/arith.texi b/manual/arith.texi index d060ff9..ce8844e 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 -- cgit v1.1