Show
Ignore:
Timestamp:
07/03/08 22:22:50 (5 months ago)
Author:
moritz
Message:

[spec] un-TODO two more tests in arith.t

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • t/spec/S03-operators/arith.t

    r21192 r21195  
    282282 
    283283# The example for sloppy divide, rigged to avoid the peephole optimiser. 
    284 tryeq_sloppy "20." / "5.", 4; 
     284is_approx "20." / "5.", 4; 
    285285 
    286286tryeq 2.5 / 2, 1.25; 
     
    291291# Bluuurg if your floating point can't accurately cope with powers of 2 
    292292# [I suspect this is parsing string-to-float problems, not actual arith] 
    293 tryeq_sloppy 18446744073709551616/1, 18446744073709551616; # Bluuurg 
     293is 18446744073709551616/1, 18446744073709551616; # Bluuurg 
    294294 
    295295#?rakudo skip 'division accuracy issues'