| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Remove `core:mem` import from `core:math/big`. | Jeroen van Rijn | 3 days | 1 | -9/+14 |
| | | |||||
| * | Use `@(rodata)` where possible | gingerBill | 2025-11-27 | 1 | -1/+2 |
| | | |||||
| * | Use `< 0` instead of `== -1` for comparisons | gingerBill | 2025-11-27 | 1 | -4/+4 |
| | | |||||
| * | Handle `Allocator_Error` correctly in `core:math/big` | gingerBill | 2025-11-27 | 1 | -1/+5 |
| | | |||||
| * | Fix #5931 | Jeroen van Rijn | 2025-11-18 | 1 | -11/+7 |
| | | | | | Fix #5931 and add test case for it. | ||||
| * | 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 | -2/+2 |
| | | |||||
| * | Remove unused import | gingerBill | 2025-08-08 | 1 | -1/+0 |
| | | |||||
| * | Require `@(init)` and `@(fini)` to be `proc "contextless" ()` | gingerBill | 2025-08-08 | 1 | -4/+5 |
| | | |||||
| * | Turn `core:math/bìg` tests into regular `core:testing` tests. | Jeroen van Rijn | 2025-06-11 | 1 | -2/+2 |
| | | | | | | | `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. | ||||
| * | Imply `#no_capture` to all variadic parameters | gingerBill | 2024-07-14 | 1 | -4/+4 |
| | | |||||
| * | Add more uses of `#no_capture` | gingerBill | 2024-07-14 | 1 | -4/+4 |
| | | |||||
| * | Remove the need for `rand` in `core:math/big` | gingerBill | 2024-06-15 | 1 | -5/+5 |
| | | |||||
| * | Elide unnecessary condition | Jeroen van Rijn | 2024-06-14 | 1 | -1/+1 |
| | | |||||
| * | Fix big.shrink not actually shrinking | Josh Jones | 2024-06-14 | 1 | -2/+7 |
| | | |||||
| * | fix a couple of -vet-style failures after ↵ | Laytan | 2024-05-09 | 1 | -2/+2 |
| | | | | | f54977336b27c32eab52b77d94e7b1610f4350cf | ||||
| * | Expose internal invmod and int_exponent_mod with more consistent naming | Ed Yu | 2024-03-12 | 1 | -0/+1 |
| | | |||||
| * | Fix typo in big.internal_invmod | Jeroen van Rijn | 2024-03-08 | 1 | -15/+5 |
| | | | | | Fixes #3253 | ||||
| * | For invmod, b has to be > 1, fix a logic typo | Ed Yu | 2024-03-04 | 1 | -3/+3 |
| | | |||||
| * | Replace `core:*` to `base:*` where appropriate | gingerBill | 2024-01-28 | 1 | -2/+2 |
| | | |||||
| * | Fix missing clamp in core:math/big random. | Jeroen van Rijn | 2023-11-27 | 1 | -1/+1 |
| | | |||||
| * | Replace `x in &y` Use `&v in y` syntax through core & vendor for ↵ | gingerBill | 2023-06-26 | 1 | -2/+2 |
| | | | | | `switch`/`for` statements | ||||
| * | Changed //+ignore to //+build ignore. | FancyKillerPanda | 2022-02-24 | 1 | -2/+0 |
| | | |||||
| * | Improve docs_writer.cpp | gingerBill | 2022-01-17 | 1 | -1/+23 |
| | | |||||
| * | Simplify docs to hide the copyright | gingerBill | 2022-01-17 | 1 | -25/+1 |
| | | |||||
| * | [math/big] Rename `internal_int_shl_digit` to `_private_int_shl_leg`. | Jeroen van Rijn | 2021-12-11 | 1 | -72/+2 |
| | | | | | | Same for the SHR variant. These are pure implementation details to shift by a leg/word at a time. Prevent accidental usage. | ||||
| * | Merge pull request #1358 from Kelimion/big_math_fix | Jeroen van Rijn | 2021-12-09 | 1 | -0/+5 |
| |\ | | | | | [math/big] Return 0, .Integer_Underflow if T = unsigned and bigint is negative. | ||||
| | * | [math/big] Return 0, .Integer_Underflow if trying to get a negative number ↵ | Jeroen van Rijn | 2021-12-09 | 1 | -0/+5 |
| | | | | | | | | | to an unsigned int. | ||||
| * | | Merge branch 'master' of https://github.com/odin-lang/Odin | gingerBill | 2021-12-09 | 1 | -20/+40 |
| |\| | |||||
| | * | [math/big] Fix int_set and int_get. | Jeroen van Rijn | 2021-12-09 | 1 | -24/+43 |
| | | | |||||
| * | | Add utility procedures to get low values | gingerBill | 2021-12-09 | 1 | -0/+29 |
| |/ | |||||
| * | `big.Rat` (Experimental) | gingerBill | 2021-10-29 | 1 | -5/+12 |
| | | |||||
| * | Correct math/big | gingerBill | 2021-09-08 | 1 | -1/+1 |
| | | |||||
| * | Strip semicolons in core which were missing | gingerBill | 2021-09-08 | 1 | -1/+1 |
| | | |||||
| * | Merge branch 'master' into optional-semicolons | gingerBill | 2021-09-06 | 1 | -32/+295 |
| |\ | |||||
| | * | big: Add `internal_random_prime`. | Jeroen van Rijn | 2021-09-05 | 1 | -2/+31 |
| | | | |||||
| | * | big: Add `internal_int_prime_next_prime`. | Jeroen van Rijn | 2021-09-04 | 1 | -1/+1 |
| | | | |||||
| | * | big: Add Lucas-Selfridge. | Jeroen van Rijn | 2021-09-03 | 1 | -1/+28 |
| | | | |||||
| | * | big: Fix internal_int_mod for inputs with opposite signs. | Jeroen van Rijn | 2021-09-03 | 1 | -4/+22 |
| | | | | | | | | | This threw off Frobenius-Underwood. | ||||
| | * | big: Add Frobenius-Underwood. | Jeroen van Rijn | 2021-09-03 | 1 | -1/+11 |
| | | | |||||
| | * | big: Add `internal_int_is_prime`. | Jeroen van Rijn | 2021-09-02 | 1 | -1/+1 |
| | | | |||||
| | * | big: Add ; after proc map. | Jeroen van Rijn | 2021-09-01 | 1 | -10/+10 |
| | | | |||||
| | * | big: Use new comparison helpers. | Jeroen van Rijn | 2021-09-01 | 1 | -15/+14 |
| | | | |||||
| | * | big: Add comparison helpers. | Jeroen van Rijn | 2021-09-01 | 1 | -0/+174 |
| | | | |||||
| | * | big: Add `internal_int_exponent_mod_fast`. | Jeroen van Rijn | 2021-09-01 | 1 | -9/+16 |
| | | | |||||
| | * | 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 | -65/+65 |
| | | | |||||
| * | | Remove unneeded semicolons from the core library | gingerBill | 2021-08-31 | 1 | -10/+10 |
| | | | |||||
| * | | Remove unneeded semicolons from the core library | gingerBill | 2021-08-31 | 1 | -719/+719 |
| |/ | |||||
| * | big: Add `_private_int_mul_balance`. | Jeroen van Rijn | 2021-08-28 | 1 | -7/+4 |
| | | |||||