Some test portability fixes again + minor changes

This commit is contained in:
Yorhel 2025-03-02 10:06:33 +01:00
parent 3fd424c6e3
commit f09a103c53
7 changed files with 33 additions and 28 deletions

View file

@ -55,7 +55,7 @@ my @tests = (
''.$$, '"'.$$.'"',
do { my $x = 12; utf8::decode($x); $x }, '"12"',
do { no warnings 'numeric'; my $x = '19a'; $x += 0; $x }, '19',
1844674407370955161 / 10, $Config{uselongdouble} ? 184467440737095516 : '1.84467440737096e+17',
$Config{uselongdouble} ? () : ( 1844674407370955161 / 10, '1.84467440737096e+17' ),
);
my @errors = (