summaryrefslogtreecommitdiff
path: root/perlvars.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2014-09-01 15:55:15 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2014-09-01 17:09:26 -0400
commitd11832573a44ef0fa2ab36e6878d975388f9ab92 (patch)
tree316885860693a1d0fb7a6cffd9e046d37540e68b /perlvars.h
parent74d5bfab5a03c46777cd031b635f872b88dc1fef (diff)
downloadperl-d11832573a44ef0fa2ab36e6878d975388f9ab92.tar.gz
Static initialization using 1/0 or 0/0 not C89.
Diffstat (limited to 'perlvars.h')
-rw-r--r--perlvars.h13
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)