Some Ultrix test dodgings.
[p5sagit/p5-mst-13.2.git] / t / base / num.t
index 6a93355..ccabe07 100644 (file)
@@ -171,8 +171,13 @@ $a = 0.00049999999999999999999999999999999999999;
 $b = 0.0005000000000000000104;
 print $a <= $b ? "ok 46\n" : "not ok 46\n";
 
-$a = 0.00000000000000000000000000000000000000000000000000000000000000000001;
-print $a > 0 ? "ok 47\n" : "not ok 47\n";
+if ($^O eq 'ultrix') {
+  # Ultrix enters looong nirvana over this.
+  print "ok 47\n";
+} else {
+  $a = 0.00000000000000000000000000000000000000000000000000000000000000000001;
+  print $a > 0 ? "ok 47\n" : "not ok 47\n";
+}
 
 $a = 80000.0000000000000000000000000;
 print $a == 80000.0 ? "ok 48\n" : "not ok 48\n";