-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix typo & attempt at more explicit comment #11929
Conversation
Originally commented here: JuliaLang#11922 (comment)
Devils' advocate: are all |
Well technically the "irrational" constants in julia aren't the real deal, since they have to be defined somewhere, and that definition is of course a finite approximation. In that sense, technically a MathConst (well, Irrational) should be equal to the representation that originated it, e.g. |
It's a fair point but until such types are added, it's correct to say that an irrational and another non-irrational real are guaranteed not to be equal. We could add |
Fix typo & attempt at more explicit comment
Could this be better expressed as a trait of a Real number? |
I don't agree. The point of having
This shows exactly that
So the situation is much more subtle than just saying that |
This isn't really true. There's a definition for each |
Thanks for the clarifications. I didn't (and to be honest don't fully yet) understand the role of In any case, I'm happy to stand corrected if there's a better way to phrase this comment. |
It's to avoid bootstrapping issues. At the point where this file is loaded, |
Originally commented here: #11922 (comment)