Turn core:math/bìg tests into regular core:testing tests.

`core:math/big` has been verified against Python's big integer implementation long enough.
Turn it into a regular regression test using the `core:testing` framework, testing against
a generated corpus of test vectors.
This commit is contained in:
Jeroen van Rijn
2025-06-11 00:40:52 +02:00
parent 2a292b588a
commit 9dafd77bc0
10 changed files with 10462 additions and 1163 deletions
+1 -1
View File
@@ -310,7 +310,7 @@ int_atoi :: proc(res: ^Int, input: string, radix := i8(10), allocator := context
res.sign = sign
}
return nil
return internal_clamp(res)
}