Skip to content

Commit

Permalink
revert behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffreySarnoff authored Jul 24, 2018
1 parent 05a8140 commit 687a790
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,3 @@ end
@test testrounding(/, 1.0, 1.0, RoundDown) == 1.0
@test testrounding(/, 1.0, 1.0, RoundToZero) == 1.0
@test testrounding(/, 1.0, 1.0, RoundNearest) == 1.0

a = 0.1; b = 0.1; hi, lo = 0.2, 0.0 # two_sum(a, b)
#@test FastRounding.round_errorfree(hi, lo, RoundUp) == nextfloat(0.2)
#@test FastRounding.round_errorfree(hi, lo, RoundDown) == prevfloat(0.2)
@test add_round(a, b, RoundUp) == nextfloat(0.2)
@test add_round(a, b, RoundDown) == prevfloat(0.2)

0 comments on commit 687a790

Please sign in to comment.