diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2014-09-01 15:55:15 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2014-09-01 17:09:26 -0400 |
commit | d11832573a44ef0fa2ab36e6878d975388f9ab92 (patch) | |
tree | 316885860693a1d0fb7a6cffd9e046d37540e68b /perlvars.h | |
parent | 74d5bfab5a03c46777cd031b635f872b88dc1fef (diff) | |
download | perl-d11832573a44ef0fa2ab36e6878d975388f9ab92.tar.gz |
Static initialization using 1/0 or 0/0 not C89.
Diffstat (limited to 'perlvars.h')
-rw-r--r-- | perlvars.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/perlvars.h b/perlvars.h index 40f5072b35..7bafa40882 100644 --- a/perlvars.h +++ b/perlvars.h @@ -237,16 +237,3 @@ PERLVAR(G, malloc_mutex, perl_mutex) /* Mutex for malloc */ PERLVARI(G, hash_seed_set, bool, FALSE) /* perl.c */ PERLVARA(G, hash_seed, PERL_HASH_SEED_BYTES, unsigned char) /* perl.c and hv.h */ - -/* The infinity. Used if no suitable definition is found in <math.h>. - * Note: many older places (like HP-UX 10.X) define HUGE_VAL - * as DBL_MAX (or LDBL_MAX for long doubles). Therefore HUGE_VAL - * is not a suitable replacement for infinity. - * - * The division by zero might warn with some compilers. */ -PERLVARIC(G, infinity, NV, (NV)1.0/0.0) - -/* The not-a-number. Used if no suitable definition is found in <math.h> - * - * The division by zero might warn with some compilers. */ -PERLVARIC(G, nan, NV, (NV)0.0/0.0) |