Skip to content

Commit

Permalink
More specificity about the isreal(x) function (JuliaLang#46460)
Browse files Browse the repository at this point in the history
  • Loading branch information
udohjeremiah authored Aug 29, 2022
1 parent b64743b commit f5db687
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions base/complex.jl
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@ is true.
```jldoctest
julia> isreal(5.)
true
julia> isreal(1 - 3im)
false
julia> isreal(Inf + 0im)
true
Expand Down

0 comments on commit f5db687

Please sign in to comment.