| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Clean up `core:math/big` | Jeroen van Rijn | 48 hours | 1 | -12/+1 |
| | | | | | | | | | - Deprecate the u64/u32 implementation so we can use fewer nails and have an easier time of maintaining and optimizing the package going forward. The remaining implementation still works on 32-bit targets, it's just a smidge less efficient. - Use only 1 nail instead of 4. The tests now run 3.5% faster as a result. Future optimizations may including using fully packed backing (no nails) using `intrinsics.overflow_*` to handle borrow and carry safely. | ||||
| * | 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 |
| | | |||||
| * | Change the way math/big constants are initialized | Jeroen van Rijn | 2025-09-10 | 1 | -8/+11 |
| | | |||||
| * | Require `@(init)` and `@(fini)` to be `proc "contextless" ()` | gingerBill | 2025-08-08 | 1 | -8/+10 |
| | | |||||
| * | Imply `#no_capture` to all variadic parameters | gingerBill | 2024-07-14 | 1 | -5/+5 |
| | | |||||
| * | Add more uses of `#no_capture` | gingerBill | 2024-07-14 | 1 | -5/+5 |
| | | |||||
| * | Remove the need for `rand` in `core:math/big` | gingerBill | 2024-06-15 | 1 | -5/+5 |
| | | |||||
| * | fix a couple of -vet-style failures after ↵ | Laytan | 2024-05-09 | 1 | -1/+1 |
| | | | | | f54977336b27c32eab52b77d94e7b1610f4350cf | ||||
| * | 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 | 1 | -1/+1 |
| | | |||||
| * | Replace `x in &y` Use `&v in y` syntax through core & vendor for ↵ | gingerBill | 2023-06-26 | 1 | -3/+3 |
| | | | | | `switch`/`for` statements | ||||
| * | Simplify docs to hide the copyright | gingerBill | 2022-01-17 | 1 | -4/+2 |
| | | |||||
| * | `big.Rat` (Experimental) | gingerBill | 2021-10-29 | 1 | -6/+30 |
| | | |||||
| * | Correct math/big | gingerBill | 2021-09-08 | 1 | -6/+1 |
| | | |||||
| * | Strip semicolons in core which were missing | gingerBill | 2021-09-08 | 1 | -3/+9 |
| | | |||||
| * | big: Remove `core:fmt` usage + Add a little demo to examples/demo. | Jeroen van Rijn | 2021-09-06 | 1 | -2/+0 |
| | | |||||
| * | Merge branch 'master' into optional-semicolons | gingerBill | 2021-09-06 | 1 | -12/+11 |
| |\ | |||||
| | * | Add `internal_int_(pack, unpack)`. | Jeroen van Rijn | 2021-09-06 | 1 | -7/+7 |
| | | | |||||
| | * | big: Add `internal_random_prime`. | Jeroen van Rijn | 2021-09-05 | 1 | -3/+3 |
| | | | |||||
| | * | 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 | -15/+15 |
| | | | |||||
| * | | Remove unneeded semicolons from the core library | gingerBill | 2021-08-31 | 1 | -21/+21 |
| | | | |||||
| * | | Remove unneeded semicolons from the core library | gingerBill | 2021-08-31 | 1 | -251/+251 |
| |/ | |||||
| * | big: Update license to BSD-3. | Jeroen van Rijn | 2021-08-19 | 1 | -1/+1 |
| | | |||||
| * | big: Add `_private_mul_karatsuba`. | Jeroen van Rijn | 2021-08-16 | 1 | -4/+2 |
| | | |||||
| * | Improve parsing for `or_return`; allow `#force_inline foo() or_return;` | gingerBill | 2021-08-16 | 1 | -18/+18 |
| | | |||||
| * | Replace `err != nil` with `or_return` where appropriate | gingerBill | 2021-08-15 | 1 | -50/+46 |
| | | |||||
| * | big: Add `int_from_bytes_*`. | Jeroen van Rijn | 2021-08-11 | 1 | -3/+138 |
| | | |||||
| * | big: Improve `int_to_bytes_*`. | Jeroen van Rijn | 2021-08-11 | 1 | -41/+67 |
| | | |||||
| * | big: Add `int_to_bytes_{big, little}` + Python compatible variants. | Jeroen van Rijn | 2021-08-11 | 1 | -1/+143 |
| | | |||||
| * | 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 | -2/+0 |
| | | |||||
| * | big: Finish refactor. | Jeroen van Rijn | 2021-08-11 | 1 | -61/+47 |
| | | |||||
| * | big: Refactoring. | Jeroen van Rijn | 2021-08-11 | 1 | -1/+1 |
| | | |||||
| * | big: More refactoring. | Jeroen van Rijn | 2021-08-11 | 1 | -64/+47 |
| | | |||||
| * | big: More refactoring. | Jeroen van Rijn | 2021-08-11 | 1 | -312/+145 |
| | | |||||
| * | big: Refactor helpers. | Jeroen van Rijn | 2021-08-11 | 1 | -11/+14 |
| | | |||||
| * | big: Improve tunables. | Jeroen van Rijn | 2021-08-11 | 1 | -1/+1 |
| | | |||||
| * | big: Improved `zero_unused` helper. | Jeroen van Rijn | 2021-08-11 | 1 | -11/+6 |
| | | |||||
| * | big: Split up `mul` into internal and public parts. | Jeroen van Rijn | 2021-08-11 | 1 | -5/+7 |
| | | |||||
| * | big: Improve timing code. | Jeroen van Rijn | 2021-08-11 | 1 | -26/+11 |
| | | |||||
| * | bit: Optimized `int_bitfield_extract`. | Jeroen van Rijn | 2021-08-11 | 1 | -38/+60 |
| | | |||||
| * | bit: Improved bitfield extraction. | Jeroen van Rijn | 2021-08-11 | 1 | -57/+29 |
| | | |||||
| * | big: Some more work on constants. | Jeroen van Rijn | 2021-08-11 | 1 | -18/+38 |
| | | |||||
| * | Add faster divison. | Jeroen van Rijn | 2021-08-11 | 1 | -2/+2 |
| | | |||||
| * | big: Add `MATH_BIG_FORCE_64/32_BIT` flags. | Jeroen van Rijn | 2021-08-11 | 1 | -1/+1 |
| | | |||||
| * | big: Add constants. | Jeroen van Rijn | 2021-08-11 | 1 | -25/+68 |
| | | |||||
| * | big: `Error.None` -> `nil` | Jeroen van Rijn | 2021-08-11 | 1 | -45/+45 |
| | | |||||
| * | big: Add binary split factorial. | Jeroen van Rijn | 2021-08-11 | 1 | -7/+9 |
| | | |||||