summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-06-09 15:23:52 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-09 15:23:52 +0000
commit5ca37ce9a896d8d8db4aa0d3ecf10ef4edb561a0 (patch)
tree1718254999dbe668b54d36054dac05eaab62ae66 /perl.h
parent560b0c4689b6e31fce48b1c9d1501740be901c76 (diff)
downloadperl-5ca37ce9a896d8d8db4aa0d3ecf10ef4edb561a0.tar.gz
Numeric conversion tweaks suggested by Hugo and Nicholas.
p4raw-id: //depot/perl@10485
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/perl.h b/perl.h
index 08f00f10cc..4ceefc4e55 100644
--- a/perl.h
+++ b/perl.h
@@ -3450,12 +3450,6 @@ typedef struct am_table_short AMTS;
#define IN_LOCALE \
(PL_curcop == &PL_compiling ? IN_LOCALE_COMPILETIME : IN_LOCALE_RUNTIME)
-#define IS_NUMERIC_RADIX(s, send) \
- (PL_numeric_radix_sv \
- && IN_LOCALE \
- && SvCUR(PL_numeric_radix_sv) <= ((send)-(s)) \
- && memEQ(s, SvPVX(PL_numeric_radix_sv), SvCUR(PL_numeric_radix_sv)))
-
#define STORE_NUMERIC_LOCAL_SET_STANDARD() \
bool was_local = PL_numeric_local && IN_LOCALE; \
if (was_local) SET_NUMERIC_STANDARD();