| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Remove `core:mem` import from `core:math/big`. | Jeroen van Rijn | 3 days | 1 | -7/+6 |
| | | |||||
| * | Remove all `core:os` imports from JS targets | Jeroen van Rijn | 6 days | 1 | -57/+0 |
| | | | | | Fix `local_tz_name` on FreeBSD. | ||||
| * | core:os -> core:os/os for core:math/big | Jeroen van Rijn | 7 days | 1 | -8/+7 |
| | | |||||
| * | Always use new itoa method when MATH_BIG_FORCE_32_BIT | Jeroen van Rijn | 2025-11-28 | 1 | -1/+1 |
| | | |||||
| * | Another little bit faster. | Jeroen van Rijn | 2025-11-27 | 1 | -4/+23 |
| | | |||||
| * | Switch between old and new itoa method based on optimization level + digit size | Jeroen van Rijn | 2025-11-27 | 1 | -5/+14 |
| | | |||||
| * | Speed up big.itoa | Jeroen van Rijn | 2025-11-27 | 1 | -6/+78 |
| | | | | | | Extract 18 (64-bit) or 8 (32-bit) digits per big division. This gives a 2.5x speedup for a 1024-bit bigint. | ||||
| * | Use `@(rodata)` where possible | gingerBill | 2025-11-27 | 1 | -4/+5 |
| | | |||||
| * | Use `< 0` instead of `== -1` for comparisons | gingerBill | 2025-11-27 | 1 | -1/+1 |
| | | |||||
| * | Handle `Allocator_Error` correctly in `core:math/big` | gingerBill | 2025-11-27 | 1 | -1/+5 |
| | | |||||
| * | Change Odin's LICENSE to zlib from BSD 3-clause | gingerBill | 2025-10-28 | 1 | -1/+1 |
| | | | | | This change was made in order to allow things produced with Odin and using Odin's core library, to not require the LICENSE to also be distributed alongside the binary form. | ||||
| * | Package lines for `core:math` and more. | Jeroen van Rijn | 2025-10-09 | 1 | -3/+2 |
| | | |||||
| * | Turn `core:math/bìg` tests into regular `core:testing` tests. | Jeroen van Rijn | 2025-06-11 | 1 | -1/+1 |
| | | | | | | | `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. | ||||
| * | Fix a range check in int_atoi in core:math/big. | Barinzaya | 2025-05-24 | 1 | -1/+1 |
| | | | | | | | | The check seems to have been assuming that rune comparisons are unsigned, but they're signed. This was causing an assertion failure for certain input characters (anything with an ASCII value less than '+'/43). | ||||
| * | Add missing `string_to_int` alias in `core:math/big` | Feoramund | 2024-06-09 | 1 | -0/+1 |
| | | |||||
| * | fix a couple of -vet-style failures after ↵ | Laytan | 2024-05-09 | 1 | -2/+2 |
| | | | | | f54977336b27c32eab52b77d94e7b1610f4350cf | ||||
| * | Replace `core:*` to `base:*` where appropriate | gingerBill | 2024-01-28 | 1 | -1/+1 |
| | | |||||
| * | Use positional and named arguments within the core library | gingerBill | 2023-06-21 | 1 | -1/+1 |
| | | |||||
| * | Simplify docs to hide the copyright | gingerBill | 2022-01-17 | 1 | -0/+2 |
| | | |||||
| * | Merge branch 'master' into optional-semicolons | gingerBill | 2021-09-06 | 1 | -22/+187 |
| |\ | |||||
| | * | Add `internal_int_(pack, unpack)`. | Jeroen van Rijn | 2021-09-06 | 1 | -0/+111 |
| | | | |||||
| | * | big: Add ASCII file import/export. | Jeroen van Rijn | 2021-09-05 | 1 | -12/+67 |
| | | | |||||
| | * | big: Add `internal_int_is_prime`. | Jeroen van Rijn | 2021-09-02 | 1 | -8/+8 |
| | | | |||||
| | * | big: Add `internal_int_exponent_mod`. | Jeroen van Rijn | 2021-09-01 | 1 | -2/+1 |
| | | | |||||
| * | | Strip even more semicolons if followed by a `}` or `)` on the same line | gingerBill | 2021-08-31 | 1 | -2/+2 |
| | | | |||||
| * | | Remove unneeded semicolons from the core library | gingerBill | 2021-08-31 | 1 | -140/+140 |
| |/ | |||||
| * | Add tests for `internal_int_is_square'. | Jeroen van Rijn | 2021-08-28 | 1 | -1/+1 |
| | | |||||
| * | big: Update license to BSD-3. | Jeroen van Rijn | 2021-08-19 | 1 | -1/+1 |
| | | |||||
| * | Replace `err != nil` with `or_return` where appropriate | gingerBill | 2021-08-15 | 1 | -24/+19 |
| | | |||||
| * | big: Add arguments and usage to test.py. | Jeroen van Rijn | 2021-08-11 | 1 | -1/+1 |
| | | |||||
| * | big: Add `_private_int_sqr_comba`. | Jeroen van Rijn | 2021-08-11 | 1 | -0/+4 |
| | | |||||
| * | big: Finish refactor. | Jeroen van Rijn | 2021-08-11 | 1 | -29/+33 |
| | | |||||
| * | big: More refactoring. | Jeroen van Rijn | 2021-08-11 | 1 | -19/+14 |
| | | |||||
| * | big: Improved `zero_unused` helper. | Jeroen van Rijn | 2021-08-11 | 1 | -1/+1 |
| | | |||||
| * | bit: Improved bitfield extraction. | Jeroen van Rijn | 2021-08-11 | 1 | -2/+4 |
| | | |||||
| * | big: `Error.None` -> `nil` | Jeroen van Rijn | 2021-08-11 | 1 | -25/+25 |
| | | |||||
| * | big: Add `factorial`, have tests use hex strings. | Jeroen van Rijn | 2021-08-11 | 1 | -2/+2 |
| | | |||||
| * | big: fix `itoa` base PoT other than 16. | Jeroen van Rijn | 2021-08-11 | 1 | -1/+1 |
| | | |||||
| * | big: Improve `int_bitfield_extract`. | Jeroen van Rijn | 2021-08-11 | 1 | -1/+1 |
| | | |||||
| * | big: Add `sqrt`. | Jeroen van Rijn | 2021-08-11 | 1 | -1/+1 |
| | | |||||
| * | big: Add `atoi`. | Jeroen van Rijn | 2021-08-11 | 1 | -9/+95 |
| | | |||||
| * | big: Add another way to estimate radix size. | Jeroen van Rijn | 2021-08-11 | 1 | -10/+65 |
| | | |||||
| * | big: `itoa` now works for arbitrary radixes. | Jeroen van Rijn | 2021-08-11 | 1 | -40/+87 |
| | | |||||
| * | big: Add `pow`. | Jeroen van Rijn | 2021-08-11 | 1 | -2/+2 |
| | | |||||
| * | big: Finish big ZII refactor. | Jeroen van Rijn | 2021-08-11 | 1 | -44/+54 |
| | | |||||
| * | big: More ZII refactoring. | Jeroen van Rijn | 2021-08-11 | 1 | -2/+3 |
| | | |||||
| * | big: More ZII refactoring. | Jeroen van Rijn | 2021-08-11 | 1 | -2/+1 |
| | | |||||
| * | big: Continuing to refactor. | Jeroen van Rijn | 2021-08-11 | 1 | -1/+1 |
| | | |||||
| * | bigint: refactor to `big.Int` instead of `bigint.Int`. | Jeroen van Rijn | 2021-08-11 | 1 | -0/+282 |