Closed emillon closed 1 year ago
Sidenote, these functions could probably use some fuzzing. In particular (has_next_error s == length s)
should imply that explode s
does not fail.
I can adapt the test name so that it works in CI
Not sure who the right person to review this would be. It looks okayish to me but I haven't checked the math in detail and it's slightly tricky.
To clarify, this does not touch the math part, it just extracts a local name for the computed value.
The value can be larger than
Uchar.max
- in that case zed would previously return no error but functions such asexplode
would later raise an exception.See ocaml-community/utop#401