Skip to content

Commit

Permalink
test exp(NaN)
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffreySarnoff authored Mar 13, 2019
1 parent fe554eb commit 93675b9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/specialvalues.jl
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,7 @@ end
@test isnan(LO(T(Inf)))
@test isnan(LO(T(NaN)))
end

@testset "NaNs" begin
@test isnan(exp(Double64(NaN)))
end

0 comments on commit 93675b9

Please sign in to comment.