|
|
b2938d |
From b52b6c4029b51818442d64c6104d26e12e140f09 Mon Sep 17 00:00:00 2001
|
|
|
b2938d |
From: TAKAI Kousuke <62541129+t-a-k@users.noreply.github.com>
|
|
|
b2938d |
Date: Thu, 5 Nov 2020 22:06:16 +0900
|
|
|
b2938d |
Subject: [PATCH] t/op/inc.t, t/op/hexfp.t, t/op/sprintf2.t: Add missing d_
|
|
|
b2938d |
prefixes for Config variable names.
|
|
|
b2938d |
MIME-Version: 1.0
|
|
|
b2938d |
Content-Type: text/plain; charset=UTF-8
|
|
|
b2938d |
Content-Transfer-Encoding: 8bit
|
|
|
b2938d |
|
|
|
b2938d |
Signed-off-by: Petr Písař <ppisar@redhat.com>
|
|
|
b2938d |
---
|
|
|
b2938d |
t/op/hexfp.t | 2 +-
|
|
|
b2938d |
t/op/inc.t | 4 ++--
|
|
|
b2938d |
t/op/sprintf2.t | 4 ++--
|
|
|
b2938d |
3 files changed, 5 insertions(+), 5 deletions(-)
|
|
|
b2938d |
|
|
|
b2938d |
diff --git a/t/op/hexfp.t b/t/op/hexfp.t
|
|
|
b2938d |
index b0c85cfdc6..5fb80d3d74 100644
|
|
|
b2938d |
--- a/t/op/hexfp.t
|
|
|
b2938d |
+++ b/t/op/hexfp.t
|
|
|
b2938d |
@@ -246,7 +246,7 @@ SKIP: {
|
|
|
b2938d |
skip("non-80-bit-long-double", 4)
|
|
|
b2938d |
unless ($Config{uselongdouble} &&
|
|
|
b2938d |
($Config{nvsize} == 16 || $Config{nvsize} == 12) &&
|
|
|
b2938d |
- ($Config{long_double_style_ieee_extended}));
|
|
|
b2938d |
+ ($Config{d_long_double_style_ieee_extended}));
|
|
|
b2938d |
is(0x1p-1074, 4.94065645841246544e-324);
|
|
|
b2938d |
is(0x1p-1075, 2.47032822920623272e-324, '[perl #128919]');
|
|
|
b2938d |
is(0x1p-1076, 1.23516411460311636e-324);
|
|
|
b2938d |
diff --git a/t/op/inc.t b/t/op/inc.t
|
|
|
b2938d |
index 0bb8b85b13..3d5cc024d3 100644
|
|
|
b2938d |
--- a/t/op/inc.t
|
|
|
b2938d |
+++ b/t/op/inc.t
|
|
|
b2938d |
@@ -188,10 +188,10 @@ cmp_ok($a, '==', 2147483647, "postdecrement properly downgrades from double");
|
|
|
b2938d |
|
|
|
b2938d |
SKIP: {
|
|
|
b2938d |
if ($Config{uselongdouble} &&
|
|
|
b2938d |
- ($Config{long_double_style_ieee_doubledouble})) {
|
|
|
b2938d |
+ ($Config{d_long_double_style_ieee_doubledouble})) {
|
|
|
b2938d |
skip "the double-double format is weird", 1;
|
|
|
b2938d |
}
|
|
|
b2938d |
- unless ($Config{double_style_ieee}) {
|
|
|
b2938d |
+ unless ($Config{d_double_style_ieee}) {
|
|
|
b2938d |
skip "the doublekind $Config{doublekind} is not IEEE", 1;
|
|
|
b2938d |
}
|
|
|
b2938d |
|
|
|
b2938d |
diff --git a/t/op/sprintf2.t b/t/op/sprintf2.t
|
|
|
b2938d |
index bbc12ccd0a..38a550c281 100644
|
|
|
b2938d |
--- a/t/op/sprintf2.t
|
|
|
b2938d |
+++ b/t/op/sprintf2.t
|
|
|
b2938d |
@@ -701,7 +701,7 @@ SKIP: {
|
|
|
b2938d |
skip("uselongdouble=" . ($Config{uselongdouble} ? 'define' : 'undef')
|
|
|
b2938d |
. " longdblkind=$Config{longdblkind} os=$^O", 6)
|
|
|
b2938d |
unless ($Config{uselongdouble} &&
|
|
|
b2938d |
- ($Config{long_double_style_ieee_doubledouble})
|
|
|
b2938d |
+ ($Config{d_long_double_style_ieee_doubledouble})
|
|
|
b2938d |
# Gating on 'linux' (ppc) here is due to the differing
|
|
|
b2938d |
# double-double implementations: other (also big-endian)
|
|
|
b2938d |
# double-double platforms (e.g. AIX on ppc or IRIX on mips)
|
|
|
b2938d |
@@ -892,7 +892,7 @@ SKIP: {
|
|
|
b2938d |
skip("non-80-bit-long-double", 17)
|
|
|
b2938d |
unless ($Config{uselongdouble} &&
|
|
|
b2938d |
($Config{nvsize} == 16 || $Config{nvsize} == 12) &&
|
|
|
b2938d |
- ($Config{long_double_style_ieee_extended}));
|
|
|
b2938d |
+ ($Config{d_long_double_style_ieee_extended}));
|
|
|
b2938d |
|
|
|
b2938d |
{
|
|
|
b2938d |
# The last normal for this format.
|
|
|
b2938d |
--
|
|
|
b2938d |
2.25.4
|
|
|
b2938d |
|