diff options
Diffstat (limited to 'math/math.h')
-rw-r--r-- | math/math.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/math/math.h b/math/math.h index 7c0c709..70d9b86 100644 --- a/math/math.h +++ b/math/math.h @@ -45,6 +45,15 @@ __BEGIN_DECLS # include <bits/nan.h> #endif /* __USE_ISOC99 */ +#if __GLIBC_USE (IEC_60559_BFP_EXT) +/* Signaling NaN macros, if supported. */ +# if __GNUC_PREREQ (3, 3) +# define SNANF (__builtin_nansf ("")) +# define SNAN (__builtin_nans ("")) +# define SNANL (__builtin_nansl ("")) +# endif +#endif + /* Get the architecture specific values describing the floating-point evaluation. The following symbols will get defined: |