-
Notifications
You must be signed in to change notification settings - Fork 10
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
How is 0.0:0.0:∞
handled?
#117
Comments
There is a case where julia> r = InfiniteArrays.InfStepRange(0.0,0.0)
0.0:0.0:+∞
julia> s=-r
-0.0:-0.0:-∞
julia> last(s),last(r)
(-∞, +∞)
julia> s[end],r[end]
(ℵ₀, ℵ₀)
julia> s==r
false |
|
This change is related: #122 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently this cannot be constructed with colons.
It can be generated using the type constructor or manipulating ranges.
This is the same strategy that Julia Base uses. StepRangeLen is well defined for this purpose, while InfStepRange is ambiguous on what the
stop
should be.InfUnitRange has a different pipeline.
The text was updated successfully, but these errors were encountered: