| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Remove `core:mem` import from `core:math/big`. | Jeroen van Rijn | 3 days | 3 | -17/+15 |
| | | |||||
| * | Remove `core:mem` import from `core:math/big`. | Jeroen van Rijn | 3 days | 1 | -9/+14 |
| | | |||||
| * | core:os -> core:os/old && core:os/os2 -> core:os | Jeroen van Rijn | 6 days | 1 | -1/+1 |
| | | |||||
| * | Remove all `core:os` imports from JS targets | Jeroen van Rijn | 6 days | 2 | -57/+79 |
| | | | | | 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 | 2 | -6/+84 |
| | | | | | | 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 | 4 | -6/+14 |
| | | |||||
| * | Add alias `Okay = None` | gingerBill | 2025-11-27 | 1 | -0/+2 |
| | | |||||
| * | Use `< 0` instead of `== -1` for comparisons | gingerBill | 2025-11-27 | 5 | -14/+14 |
| | | |||||
| * | Handle `Allocator_Error` correctly in `core:math/big` | gingerBill | 2025-11-27 | 3 | -5/+19 |
| | | |||||
| * | Fix #5931 | Jeroen van Rijn | 2025-11-18 | 2 | -19/+10 |
| | | | | | Fix #5931 and add test case for it. | ||||
| * | Change Odin's LICENSE to zlib from BSD 3-clause | gingerBill | 2025-10-28 | 10 | -10/+10 |
| | | | | | 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. | ||||
| * | Further overhaul of package line comments. | Jeroen van Rijn | 2025-10-09 | 2 | -7/+1 |
| | | |||||
| * | Package lines for `core:math` and more. | Jeroen van Rijn | 2025-10-09 | 11 | -31/+25 |
| | | |||||
| * | Change the way math/big constants are initialized | Jeroen van Rijn | 2025-09-10 | 2 | -20/+12 |
| | | |||||
| * | Remove unused import | gingerBill | 2025-08-08 | 1 | -1/+0 |
| | | |||||
| * | Require `@(init)` and `@(fini)` to be `proc "contextless" ()` | gingerBill | 2025-08-08 | 2 | -12/+15 |
| | | |||||
| * | Fix memory leak in `internal_rat_norm` | blob1807 | 2025-06-23 | 1 | -0/+2 |
| | | |||||
| * | Turn `core:math/bìg` tests into regular `core:testing` tests. | Jeroen van Rijn | 2025-06-11 | 2 | -3/+3 |
| | | | | | | | `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. | ||||
| * | Add initial tests for big rationals | Jeroen van Rijn | 2025-06-10 | 1 | -3/+2 |
| | | |||||
| * | Move negation in `internal_rat_to_float` to end of procedure | Feoramund | 2025-06-10 | 1 | -3/+3 |
| | | | | | | | | This should cause a compiler error, due to the assignment to a named return value in a deferred block. Fixes #4565 | ||||
| * | Deprecate old @(deprecated) things. | Jeroen van Rijn | 2025-06-06 | 1 | -1/+1 |
| | | |||||
| * | 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). | ||||
| * | Moved all packages in core, base, vendor, tests and examples to use new #+ ↵ | Karl Zylinski | 2024-09-14 | 1 | -1/+1 |
| | | | | | file tag syntax. | ||||
| * | Fix `-vet-tabs` issues | gingerBill | 2024-08-24 | 1 | -1/+1 |
| | | |||||
| * | Imply `#no_capture` to all variadic parameters | gingerBill | 2024-07-14 | 2 | -9/+9 |
| | | |||||
| * | Add more uses of `#no_capture` | gingerBill | 2024-07-14 | 2 | -9/+9 |
| | | |||||
| * | Fix bug in div3 fast path. | Jeroen van Rijn | 2024-06-29 | 1 | -1/+1 |
| | | |||||
| * | Fix loads of indentation issues with mixing spaces and tabs | gingerBill | 2024-06-29 | 1 | -23/+23 |
| | | |||||
| * | Remove the need for `rand` in `core:math/big` | gingerBill | 2024-06-15 | 3 | -15/+13 |
| | | |||||
| * | 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 |
| | | |||||
| * | Merge pull request #3718 from Feoramund/add-missing-big-atoi-alias | Jeroen van Rijn | 2024-06-10 | 1 | -0/+1 |
| |\ | | | | | Add missing `string_to_int` alias in `core:math/big` | ||||
| | * | Add missing `string_to_int` alias in `core:math/big` | Feoramund | 2024-06-09 | 1 | -0/+1 |
| | | | |||||
| * | | Add permutation & combination procedures to `core:math/big` | Feoramund | 2024-06-09 | 1 | -0/+60 |
| |/ | |||||
| * | Remove unused code in `internal_random_prime` | Feoramund | 2024-05-28 | 1 | -3/+0 |
| | | |||||
| * | fix a couple of -vet-style failures after ↵ | Laytan | 2024-05-09 | 3 | -5/+5 |
| | | | | | f54977336b27c32eab52b77d94e7b1610f4350cf | ||||
| * | Fix `big.internal_random_prime` with `Second_MSB_On` | Feoramund | 2024-04-15 | 1 | -0/+14 |
| | | |||||
| * | Add `#no_broadcast` procedure parameter to disallow automatic array ↵ | gingerBill | 2024-03-21 | 1 | -1/+1 |
| | | | | | programming broadcasting on procedure arguments | ||||
| * | Expose internal invmod and int_exponent_mod with more consistent naming | Ed Yu | 2024-03-12 | 2 | -2/+6 |
| | | |||||
| * | Fix typo in big.internal_invmod | Jeroen van Rijn | 2024-03-08 | 2 | -3416/+3359 |
| | | | | | Fixes #3253 | ||||
| * | For invmod, b has to be > 1, fix a logic typo | Ed Yu | 2024-03-04 | 1 | -3/+3 |
| | | |||||
| * | math.big constants were no longer initializeddev-2024-03 | Jeroen van Rijn | 2024-03-03 | 1 | -1/+6 |
| | | | | | Fixes #3243 | ||||
| * | Replace `core:*` to `base:*` where appropriate | gingerBill | 2024-01-28 | 8 | -10/+10 |
| | | |||||
| * | Fix missing clamp in core:math/big random. | Jeroen van Rijn | 2023-11-27 | 1 | -1/+1 |
| | | |||||
| * | Partial pseudo-revert | gingerBill | 2023-10-02 | 1 | -4/+8 |
| | | |||||
| * | Minor cleanups to the core library | gingerBill | 2023-09-30 | 2 | -2/+2 |
| | | |||||