From: Jarkko Hietaniemi Date: Wed, 15 Aug 2001 13:05:15 +0000 (+0000) Subject: Try to get NV_MIN, NV_MAX, NV_MIN_10_EXP, NV_MAX_10_EXP, X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=06fc1729eff3ae5fa1002529f587d1da0f59b84f;p=p5sagit%2Fp5-mst-13.2.git Try to get NV_MIN, NV_MAX, NV_MIN_10_EXP, NV_MAX_10_EXP, NV_EPSILON #defined. p4raw-id: //depot/perl@11680 --- diff --git a/perl.h b/perl.h index 5cd8b7b..f4629f8 100644 --- a/perl.h +++ b/perl.h @@ -1278,6 +1278,21 @@ typedef NVTYPE NV; # ifdef LDBL_MANT_DIG # define NV_MANT_DIG LDBL_MANT_DIG # endif +# ifdef LDBL_MIN +# define NV_MIN LDBL_MIN +# endif +# ifdef LDBL_MAX +# define NV_MAX LDBL_MAX +# endif +# ifdef LDBL_MIN_10_EXP +# define NV_MIN_10_EXP LDBL_MIN_10_EXP +# endif +# ifdef LDBL_MAX_10_EXP +# define NV_MAX_10_EXP LDBL_MAX_10_EXP +# endif +# ifdef LDBL_EPSILON +# define NV_EPSILON LDBL_EPSILON +# endif # ifdef LDBL_MAX # define NV_MAX LDBL_MAX # define NV_MIN LDBL_MIN @@ -1327,6 +1342,21 @@ typedef NVTYPE NV; # ifdef DBL_MANT_DIG # define NV_MANT_DIG DBL_MANT_DIG # endif +# ifdef DBL_MIN +# define NV_MIN DBL_MIN +# endif +# ifdef DBL_MAX +# define NV_MAX DBL_MAX +# endif +# ifdef DBL_MIN_10_EXP +# define NV_MIN_10_EXP DBL_MIN_10_EXP +# endif +# ifdef DBL_MAX_10_EXP +# define NV_MAX_10_EXP DBL_MAX_10_EXP +# endif +# ifdef DBL_EPSILON +# define NV_EPSILON DBL_EPSILON +# endif # ifdef DBL_MAX # define NV_MAX DBL_MAX # define NV_MIN DBL_MIN