Original bug ID: 4323 Reporter: zack Assigned to:@gasche Status: closed (set by @xavierleroy on 2015-12-11T18:25:35Z) Resolution: fixed Priority: normal Severity: feature Version: 3.09.2 Fixed in version: 4.02.0+dev Category: ~DO NOT USE (was: OCaml general) Tags: junior_job Has duplicate:#3599 Related to:#6296
It is possible to build integers from hexadecimal literals (with the convention that they start with "0x") for integers in Pervasives, Int32, and Int64. However it is not possible to do the same for integers in Big_int or Num. Please add this possibility.
The code looks good, but I'm a bit wary of having to review sys_nat_of_string to make sure it didn't somehow make base-10 assumptions. I assume this would be catched rather quickly by testing; would it be possible to add relevant tests in testsuite/tests/lib-num to exercise the new code paths?