projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12ebcc1
)
Add also UTS (s390) to the non-IEEE float platforms.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Sat, 23 Jun 2001 03:38:53 +0000
(
03:38
+0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Sat, 23 Jun 2001 03:38:53 +0000
(
03:38
+0000)
p4raw-id: //depot/perl@10852
t/op/sprintf.t
patch
|
blob
|
history
diff --git
a/t/op/sprintf.t
b/t/op/sprintf.t
index
515996a
..
f534812
100755
(executable)
--- a/
t/op/sprintf.t
+++ b/
t/op/sprintf.t
@@
-31,7
+31,7
@@
$SIG{__WARN__} = sub {
for ($i = 1; @tests; $i++) {
($template, $data, $result, $comment) = @{shift @tests};
- if ($^O eq 'os390'
) {
+ if ($^O eq 'os390'
|| $^O eq 's390') { # non-IEEE (s390 is UTS)
$data =~ s/([eE])96$/${1}63/; # smaller exponents
$result =~ s/([eE]\+)102$/${1}69/; # " "
$data =~ s/([eE])\-101$/${1}-56/; # larger exponents