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 committed Jun 29, 2015
1 parent dcc4596 commit 9a4a607
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 9a4a607

Please sign in to comment.