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:
aaa8002
)
0.999... does equal 1.0, doesn't it?
author
Jarkko Hietaniemi
<jhi@iki.fi>
Tue, 6 Mar 2001 15:36:14 +0000
(15:36 +0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Tue, 6 Mar 2001 15:36:14 +0000
(15:36 +0000)
p4raw-id: //depot/perl@9059
t/camel-III/vstring.t
patch
|
blob
|
history
diff --git
a/t/camel-III/vstring.t
b/t/camel-III/vstring.t
index
7d05790
..
a252a3b
100644
(file)
--- a/
t/camel-III/vstring.t
+++ b/
t/camel-III/vstring.t
@@
-35,4
+35,5
@@
else
ok(v5.6.0 lt v5.7.0,1,"v5.6.0 lt v5.7.0 fails");
# Some floating-point risk here ...
my $v = ord($^V)+ord(substr($^V,1,1))/1000+ord(substr($^V,2,1))/1000000;
+$v =~ s/^5\.006999\d+/5.007/; # floating point fun
ok($v,$],"\$^V and \$] do not match");