Craig A. Berry [Wed, 5 Jun 2002 17:31:18 +0000 (12:31 -0500)]
From: "Craig A. Berry" <craigberry@mac.com>
Message-Id: <5.1.1.5.0.
20020605171901.021cb8b8@exchi01>
p4raw-id: //depot/perl@17025
@INC = '../lib';
}
+use Config;
+
print "1..134\n";
sub try ($$) {
if ($^O eq 'vos') {
print "not ok 134 # TODO VOS raises SIGFPE instead of producing infinity.\n";
-} else {
+}
+elsif (($^O eq 'VMS') && !defined($Config{useieee})) {
+ print "ok 134 # SKIP -- the IEEE infinity model is unavailable in this configuration.\n";
+}
+else {
# The computation of $v should overflow and produce "infinity"
# on any system whose max exponent is less than 10**1506.
# The exact string used to represent infinity varies by OS,