aboutsummaryrefslogtreecommitdiff
path: root/core/math
Commit message (Expand)AuthorAgeFilesLines
* Fix #5764gingerBill2025-10-071-1/+6
* Fix srgb <-> linear rgb conversion functions in `core:math/linalg` and add im...Franz Hoeltermann2025-10-021-60/+75
* Change the way math/big constants are initializedJeroen van Rijn2025-09-102-20/+12
* remove private _random_u64 and move it's functionality into public uint64Xotchkass2025-08-141-19/+16
* use runtime.random_generator_read_bytes in read procedure instead of filling ...Xotchkass2025-08-141-12/+2
* Remove unused importgingerBill2025-08-081-1/+0
* Require `@(init)` and `@(fini)` to be `proc "contextless" ()`gingerBill2025-08-082-12/+15
* Fix memory leak in `internal_rat_norm`blob18072025-06-231-0/+2
* Turn `core:math/bìg` tests into regular `core:testing` tests.Jeroen van Rijn2025-06-112-3/+3
* Add initial tests for big rationalsJeroen van Rijn2025-06-101-3/+2
* Move negation in `internal_rat_to_float` to end of procedureFeoramund2025-06-101-3/+3
* Deprecate old @(deprecated) things.Jeroen van Rijn2025-06-061-1/+1
* Add deprecation warnings for `strconv.append_*`Feoramund2025-06-051-0/+5
* Rename `fixed.append` to `fixed.write` too, for good measureFeoramund2025-06-051-2/+2
* Clarify `strconv.append_*` to `strconv.write_*`Feoramund2025-06-051-3/+3
* Fix rand.int_max commentJeroen van Rijn2025-05-281-1/+1
* Fix a range check in int_atoi in core:math/big.Barinzaya2025-05-241-1/+1
* Fix float64_range exampleJeroen van Rijn2025-04-211-2/+2
* Get rid of duplicate `math.signbit` in favor of `math.sign_bit`Jeroen van Rijn2025-04-152-27/+1
* Fixed math.nextafter procs skipping from 0 to 1.Barinzaya2025-04-071-3/+3
* Fix broken examples in documentation tester.Jeroen van Rijn2025-04-051-1/+1
* Add `@(require_results)` to random generatorgingerBill2025-02-241-1/+0
* fix typo in float32_range doc stringColter2025-01-291-1/+1
* Fix 2x2 matrix inverses in specific.odinprescientmoon2025-01-231-6/+6
* math/rand: add @(require_results) to createLaytan Laats2025-01-181-0/+1
* Merge pull request #4633 from spahnke/fix-matrix-adjugategingerBill2025-01-063-54/+198
|\
| * Rename adjugate to cofactor to keep existing usages for inverse and determina...Sebastian Pahnke2024-12-283-54/+198
* | General clean up of codegingerBill2025-01-011-24/+0
|/
* Merge pull request #4589 from Pariatech/add-trunc-to-linalg-glslgingerBill2024-12-182-0/+18
|\
| * add trunc to glsl linalgGabriel Pariat2024-12-172-0/+18
* | Add `linalg.clamp_length(vector, max_length) -> clamped_vector`Bazzagibbs2024-12-021-0/+12
|/
* Fix binomial functionEvan Martinez2024-11-281-1/+1
* Fix typo in Quaternion dot productDudejoe8702024-11-171-3/+3
* Minor formatting changegingerBill2024-11-051-6/+6
* math/rand: `choice_bit_set` return `not_empty` -> `ok`Laytan2024-10-281-3/+3
* math/rand: add `choice_bit_set`Laytan Laats2024-10-261-0/+49
* math/rand: support non-contiguous enums in choice_enumLaytan Laats2024-10-251-15/+15
* Merge pull request #4203 from karl-zylinski/file-tags-without-commentsgingerBill2024-09-194-4/+4
|\
| * Moved all packages in core, base, vendor, tests and examples to use new #+ fi...Karl Zylinski2024-09-144-4/+4
* | Remove `distinct` from `core:math/linalg/(glsl|hlsl)` typesgingerBill2024-09-182-109/+109
|/
* Fix #4227Jeroen van Rijn2024-09-101-3/+3
* core: improve package doc comments for the documentation generatorLaytan Laats2024-09-031-3/+3
* Add math.remap_clamped.Jeroen van Rijn2024-09-011-1/+6
* Make math.remap clamp the result in range [new_min, new_max].Karl Zylinski2024-09-011-1/+2
* Fix `-vet-tabs` issuesgingerBill2024-08-241-1/+1
* Add `core:math.count_digits_of_base`Feoramund2024-08-181-0/+30
* Update rand.reset() example.Jeroen van Rijn2024-07-311-1/+1
* Clamp dot in `angle_between` to avoid precision errors.Jeroen van Rijn2024-07-281-1/+2
* Improve rand.shuffle further by splitting into 64-bit and 32-bit partsgingerBill2024-07-161-1/+7
* Improve `rand.shuffle`gingerBill2024-07-161-1/+1