Skip to content

Commit

Permalink
Missing test for tanh(Inf)
Browse files Browse the repository at this point in the history
  • Loading branch information
kshyatt committed Nov 10, 2020
1 parent d562a97 commit dfd2bbe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/math.jl
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ end
@test hypot(T(Inf), T(x)) === T(Inf)
@test hypot(T(Inf), T(NaN)) === T(Inf)
@test isnan_type(T, hypot(T(x), T(NaN)))
@test tanh(T(Inf)) === T(1)
end
end
end
Expand Down

0 comments on commit dfd2bbe

Please sign in to comment.