-
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
Print intervals as 3..4
?
#319
Comments
Or using brackets with 2 vertical bars? cc @yurivish |
Why not having both options, so the user can decide? We already have |
The |
Yes I agree that we should have both options available. I actually find
|
Yes, add spaces! |
The I'd personally find it really useful if I could copy-paste from the output and get a new interval with a guarantee to contain the original interval (even if it does not recreate it exactly). Whether or not to add spaces could be determined by |
Note that you can already have the midpoint-radius version: julia> @format midpoint
Display parameters:
- format: midpoint
- decorations: false
- significant figures: 6
julia> 3..4
3.5 ± 0.5 |
For the default it is not a clear cut. However as opposed to what the Julia doc recommends, we don't have a show method (e.g. The IEEE standard already may mention something about it. |
That is implemented in |
Fixed in #555 |
Maybe it would be less confusing to print out intervals as
3..4
instead of[3, 4]
?The text was updated successfully, but these errors were encountered: