We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 986e0e6 commit c74e4a2Copy full SHA for c74e4a2
test/math.jl
@@ -1289,7 +1289,11 @@ end
1289
end
1290
1291
@testset "fma" begin
1292
- for func in (fma, Base.fma_emulated, Base.fma_float) # use fma_float to test runtime fma
+ fma_list = (fma, Base.fma_emulated)
1293
+ if !(Sys.islinux() && Int == Int32) # test runtime fma (skip linux32)
1294
+ fun_list = (fun_list..., Base.fma_float)
1295
+ end
1296
+ for func in fma_list
1297
@test func(nextfloat(1.),nextfloat(1.),-1.0) === 4.440892098500626e-16
1298
@test func(nextfloat(1f0),nextfloat(1f0),-1f0) === 2.3841858f-7
1299
@testset "$T" for T in (Float32, Float64)
0 commit comments