summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2021-04-11 07:07:59 -0600
committerKarl Williamson <khw@cpan.org>2022-09-01 09:02:04 -0600
commit98c5f15cfe00e491f40f48200d502db1d133abfd (patch)
tree613b24ce51700c7cc4fd107e006d68e5adab498b /numeric.c
parent22bb228247b201b8ce29a2e5a5c0fa164a306c11 (diff)
downloadperl-98c5f15cfe00e491f40f48200d502db1d133abfd.tar.gz
numeric.: Rmv outdated condition
It hasn't been true for some releases that the SV was removed when the radix was a dot. Instead the SV contains the correct decimal point character at all times.
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numeric.c b/numeric.c
index 4936ceff26..84d2319053 100644
--- a/numeric.c
+++ b/numeric.c
@@ -1492,7 +1492,7 @@ N.B. C<s> must be NUL terminated.
{
DECLARATION_FOR_LC_NUMERIC_MANIPULATION;
STORE_LC_NUMERIC_SET_TO_NEEDED();
- if (! (PL_numeric_radix_sv && IN_LC(LC_NUMERIC))) {
+ if (! IN_LC(LC_NUMERIC)) {
ATOF(s,x);
}
else {