diff options
author | Craig A. Berry <craigberry@mac.com> | 2005-06-18 13:23:59 -0500 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-06-19 15:11:06 +0000 |
commit | f607920a165f3c14b9c61dc74e535bdc6aa1904c (patch) | |
tree | 9036f388507340c1b9d3931c0a9098bc1d7d9be7 /config_h.SH | |
parent | dd69047874984d0e0233a4ed2eb67c2fe4ea1617 (diff) | |
download | perl-f607920a165f3c14b9c61dc74e535bdc6aa1904c.tar.gz |
Add a Configure test to see if NV 0.0 is stored as all bits zero, and
#define NV_ZERO_IS_ALLBITS_ZERO if so. This is always true on VMS:
Subject: Re: Configure check for whether 0.0 is stored as all bits zero
From: "Craig A. Berry" <craigberry@mac.com>
Message-Id: <p06210214beda5bf31c4c@[172.16.52.1]>
Date: Sat, 18 Jun 2005 18:23:59 -0500
p4raw-id: //depot/perl@24898
Diffstat (limited to 'config_h.SH')
-rw-r--r-- | config_h.SH | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config_h.SH b/config_h.SH index 422bd6cce2..7ff827f8d6 100644 --- a/config_h.SH +++ b/config_h.SH @@ -3235,6 +3235,10 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un * This symbol contains the number of bits a variable of type NVTYPE * can preserve of a variable of type UVTYPE. */ +/* NV_ZERO_IS_ALLBITS_ZERO + * This symbol, if defined, indicates that a variable of type NVTYPE + * stores 0.0 in memory as all bits zero. + */ #define IVTYPE $ivtype /**/ #define UVTYPE $uvtype /**/ #define I8TYPE $i8type /**/ @@ -3263,6 +3267,7 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un #define NVSIZE $nvsize /**/ #$d_nv_preserves_uv NV_PRESERVES_UV #define NV_PRESERVES_UV_BITS $nv_preserves_uv_bits +#$d_nv_zero_is_allbits_zero NV_ZERO_IS_ALLBITS_ZERO #if UVSIZE == 8 # ifdef BYTEORDER # if BYTEORDER == 0x1234 |