-
Notifications
You must be signed in to change notification settings - Fork 71
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
Rethink .. #345
Comments
This would make |
Yes, or rather |
I agree, as long as there is a simple way of getting rounding correctly. I do think that what makes |
Mmmm, isn't #347 precisely the opposite to JuliaMath/IntervalSets.jl#33? In any case, I agree that we should share the meaning of alike symbols. |
No, that's what Sheehan was saying in that issue if I'm not mistaken? That it should round up the irrational (but currently doesn't). |
I agree with what you say; but if we follow the suggestion discussed here, |
Well, it's not exactly an exception: We have to round them either down or up, so let's choose the one that actually includes the irrational! |
But can't you actually argue the same for |
No, because |
I believe this has been raised before, but I think
a..b
should no longer do "magic" rounding.Apart from the performance aspect, this is to bring this usage into line with that of
IntervalSets.jl
,ApproxFun.jl
etc. Then we can depend on / interoperate withIntervalSets.jl
instead of being in conflict with them.If a user wants the magic rounding, they should use the macros: the string macro or
@interval
:We should allow
@interval 0.1..0.2
too.cc @lbenet @Kolaru
The text was updated successfully, but these errors were encountered: