Skip to content
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

Maximum representable range #13

Open
shoooe opened this issue Jan 5, 2015 · 1 comment
Open

Maximum representable range #13

shoooe opened this issue Jan 5, 2015 · 1 comment
Labels

Comments

@shoooe
Copy link
Owner

shoooe commented Jan 5, 2015

Give compile time errors if bounds are too big or the range size is too big to be represented by our max width integer (64 bits).

@shoooe shoooe added the bug label Jan 5, 2015
@shoooe shoooe self-assigned this Jan 5, 2015
@shoooe
Copy link
Owner Author

shoooe commented Apr 23, 2015

This represents a new class of issues too. For example our from_int function can try to convert from an unsigned integer. If that integer is std::uint64_t, then the resulting integer either won't compile or generate an overflow in the range.

I'm waiting on fixing this because I think I have another idea.

@shoooe shoooe removed their assignment Mar 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant