andrenth / ocaml-stdint

Various signed and unsigned integers for OCaml
Other
85 stars 16 forks source link

Equality bug of a parsed integer with another one #73

Open hirrolot opened 1 year ago

hirrolot commented 1 year ago

The following assertion fails:

open Stdint
assert (Int8.of_string "127" = Int8.max_int);

Of course, I expect it not to fail.