From b1dbee0fb17b042b3128a8472bb631cf8e311cee Mon Sep 17 00:00:00 2001 From: Valentin Churavy Date: Sat, 12 Dec 2020 13:00:55 -0500 Subject: [PATCH] Remove fastmath tests that are defined to be undef/poison --- test/fastmath.jl | 3 --- 1 file changed, 3 deletions(-) diff --git a/test/fastmath.jl b/test/fastmath.jl index bce043d7b32b0..edaab1c6eb0cf 100644 --- a/test/fastmath.jl +++ b/test/fastmath.jl @@ -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))