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

Passing negative numbers to uint/ufixed #23

Open
axic opened this issue Jul 20, 2016 · 0 comments
Open

Passing negative numbers to uint/ufixed #23

axic opened this issue Jul 20, 2016 · 0 comments

Comments

@axic
Copy link
Member

axic commented Jul 20, 2016

Some other tools coerce negative numbers to their two's complement representation when passed to uint.

Should this library do the same?

I'm not entirely convinced it should, because then what should happen with ufixed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants