summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2015-02-26 20:30:02 -0500
committerJarkko Hietaniemi <jhi@iki.fi>2015-02-26 20:39:02 -0500
commitbf872ac3bb970dcf9dc4e388a63304051932e583 (patch)
treef894bbd2ba2ca7a4c01fb3656b89607cf622b14d /perl.h
parent952684692c4740b541017b64502f76660a55c57b (diff)
downloadperl-bf872ac3bb970dcf9dc4e388a63304051932e583.tar.gz
infnan: drop NV_QNAN and NV_SNAN
They are unused, better keep the API small.
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/perl.h b/perl.h
index b3b77ba121..50ae286c80 100644
--- a/perl.h
+++ b/perl.h
@@ -4329,11 +4329,9 @@ static const union { unsigned int __i; float __f; } __PL_inf_u =
# endif
# if !defined(NV_NAN) && defined(LDBL_QNAN)
# define NV_NAN LDBL_QNAN
-# define NV_QNAN LDBL_QNAN
# endif
# if !defined(NV_NAN) && defined(LDBL_SNAN)
# define NV_NAN LDBL_SNAN
-# define NV_SNAN LDBL_SNAN
# endif
#endif
#if !defined(NV_NAN) && defined(DBL_NAN)
@@ -4341,27 +4339,21 @@ static const union { unsigned int __i; float __f; } __PL_inf_u =
#endif
#if !defined(NV_NAN) && defined(DBL_QNAN)
# define NV_NAN (NV)DBL_QNAN
-# define NV_QNAN DBL_QNAN
#endif
#if !defined(NV_NAN) && defined(DBL_SNAN)
# define NV_NAN (NV)DBL_SNAN
-# define NV_SNAN DBL_SNAN
#endif
#if !defined(NV_NAN) && defined(NAN)
# define NV_NAN (NV)NAN
#endif
#if !defined(NV_NAN) && defined(QNAN)
# define NV_NAN (NV)QNAN
-# define NV_QNAN QNAN
#endif
#if !defined(NV_NAN) && defined(SNAN)
# define NV_NAN (NV)SNAN
-# define NV_SNAN SNAN
#endif
#if !defined(NV_NAN) && defined(I_SUNMATH)
# define NV_NAN (NV)quiet_nan()
-# define NV_QNAN (NV)quiet_nan()
-# define NV_SNAN (NV)signaling_nan()
#endif
#if !defined(NV_NAN)
# if INTSIZE == 4