summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2015-02-07 13:27:42 -0500
committerJarkko Hietaniemi <jhi@iki.fi>2015-02-08 21:54:49 -0500
commitc3a8e5a5b4bb89a15de642c023dfd5cbc4678938 (patch)
tree2ce69ecfa577fd489b244fbb0f52f8d3f9c3fa67 /perl.h
parentddce084af02764d4f30ef6089ae67a7983fcc690 (diff)
downloadperl-c3a8e5a5b4bb89a15de642c023dfd5cbc4678938.tar.gz
infnan: do not define NV_NAN from a signaling nan
This is not a strong guarantee that the NV_NAN is a quiet NaN.
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/perl.h b/perl.h
index b6dbf61ea1..cfbadefd6c 100644
--- a/perl.h
+++ b/perl.h
@@ -4319,7 +4319,6 @@ static const union { unsigned int __i; float __f; } __PL_inf_u =
# 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
@@ -4331,7 +4330,6 @@ static const union { unsigned int __i; float __f; } __PL_inf_u =
# 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)
@@ -4342,7 +4340,6 @@ static const union { unsigned int __i; float __f; } __PL_inf_u =
# 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)