From 533686c97e2bcc046e9f800c5a5501785c800c62 Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Sun, 1 Feb 2015 12:16:59 -0500 Subject: infnan: define NV_QNAN and NV_SNAN if feasible --- perl.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'perl.h') diff --git a/perl.h b/perl.h index d3951a9e5f..ea6e9912f4 100644 --- a/perl.h +++ b/perl.h @@ -4323,9 +4323,11 @@ 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) @@ -4333,9 +4335,11 @@ 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_QNAN #endif #if !defined(NV_NAN) && defined(NAN) # define NV_NAN (NV)NAN -- cgit v1.2.1