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

Int40.to_string omit the sign after a mul #48

Closed
rixed opened this issue Oct 5, 2020 · 0 comments
Closed

Int40.to_string omit the sign after a mul #48

rixed opened this issue Oct 5, 2020 · 0 comments

Comments

@rixed
Copy link
Contributor

rixed commented Oct 5, 2020

# Int40.(mul (of_int ~-1) (of_int 42)) |> Int40.to_string;;
- : string = "42"

There are a few other bugs around this. I added some test cases and am going to debug this.

rixed added a commit to rixed/ocaml-stdint that referenced this issue Oct 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant