Skip to content

Commit

Permalink
Fix typo & attempt at more explicit comment
Browse files Browse the repository at this point in the history
Originally commented here: JuliaLang#11922 (comment)
  • Loading branch information
waldyrious authored and KristofferC committed Jun 30, 2015
1 parent c309cb5 commit 2a12ae0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/irrationals.jl
Expand Up @@ -23,7 +23,7 @@ end
=={s}(::Irrational{s}, ::Irrational{s}) = true
==(::Irrational, ::Irrational) = false

# Irationals are not rational, so unequal to everything else
# Irrationals, by definition, can't have a finite representation equal them exactly
==(x::Irrational, y::Real) = false
==(x::Real, y::Irrational) = false

Expand Down

0 comments on commit 2a12ae0

Please sign in to comment.