Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Number of steps may exceed range of Natural #36

Closed
Jellix opened this issue Jun 18, 2020 · 1 comment · Fixed by #38
Closed

Number of steps may exceed range of Natural #36

Jellix opened this issue Jun 18, 2020 · 1 comment · Fixed by #38
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Jellix
Copy link
Member

Jellix commented Jun 18, 2020

Describe the bug
See #29 (comment)

Current suspicion is that the reported number of steps exceeds the 2**31 mark (i.e. > Natural'Last). Steps should be recorded in a 64 bit integer.

Expected Behavior
Not a Constraint_Error.

@Jellix Jellix added the bug Something isn't working label Jun 18, 2020
@Jellix Jellix self-assigned this Jun 18, 2020
@Jellix
Copy link
Member Author

Jellix commented Jun 18, 2020

Apparently, we can have negative step values.

That's a bit of a bummer, as using that as a raw value would throw off the sorting.

@Jellix Jellix pinned this issue Jun 18, 2020
@Jellix Jellix modified the milestones: V1.0.0, 0.9.5 Jun 18, 2020
@Jellix Jellix mentioned this issue Jun 18, 2020
@Jellix Jellix unpinned this issue Jun 18, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant