Closed qingshi163 closed 1 year ago
the following code will fail
assert_eq!(Natural::from_string_base(16, "1000000000000000z"), None);
but if reduce the length than will success.
assert_eq!(Natural::from_string_base(16, "10000000z"), None);
Thanks for the catch. The fix will be in the next release.
Fixed in 0.4.0.
the following code will fail
but if reduce the length than will success.