Skip to content

Commit

Permalink
Merge pull request #38850 from JuliaLang/vc/ppc_fastmath
Browse files Browse the repository at this point in the history
[PPC] relax fastmath test
  • Loading branch information
vchuravy authored Dec 14, 2020
2 parents 8c01444 + b1dbee0 commit b6c09a3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions test/fastmath.jl
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@ fm_fast_64_upd(x) = @fastmath (r=x; r+=eps64_2; r+=eps64_2)
@test @fastmath(cmp(two,two)) == cmp(two,two)
@test @fastmath(cmp(two,three)) == cmp(two,three)
@test @fastmath(cmp(three,two)) == cmp(three,two)
@test @fastmath(one/zero) == convert(T,Inf)
@test @fastmath(-one/zero) == -convert(T,Inf)
@test isnan(@fastmath(zero/zero)) # must not throw

for x in (zero, two, convert(T, Inf), convert(T, NaN))
@test @fastmath(isfinite(x))
Expand Down

0 comments on commit b6c09a3

Please sign in to comment.