aboutsummaryrefslogtreecommitdiff
path: root/core/math
Commit message (Expand)AuthorAgeFilesLines
* fix a couple of -vet-style failures after f54977336b27c32eab52b77d94e7b1610f4...Laytan2024-05-093-5/+5
* fix(linalg/glsl): incorrect quat by vector3 multiplicationIllusionMan12122024-04-281-2/+2
* core/math/rand: Use `core:crypto` for the system RNGYawning Angel2024-04-235-96/+21
* Implement Fisher-Yates shuffleFeoramund2024-04-151-2/+2
* Fix `big.internal_random_prime` with `Second_MSB_On`Feoramund2024-04-151-0/+14
* Added docs for trig function procedure groupsalec hodgkinson2024-04-111-1/+28
* Fix #3386 - `fixed.to_string`gingerBill2024-04-101-18/+166
* Removed undefined & usused varsblob18072024-04-061-1/+0
* Fix #3323gingerBill2024-03-241-1/+3
* Add `#no_broadcast` procedure parameter to disallow automatic array programmi...gingerBill2024-03-211-1/+1
* Expose internal invmod and int_exponent_mod with more consistent namingEd Yu2024-03-122-2/+6
* Properly initialize return matrices in linalg.orthonormalizespindlebink2024-03-091-0/+6
* Fix typo in big.internal_invmodJeroen van Rijn2024-03-082-3416/+3359
* For invmod, b has to be > 1, fix a logic typoEd Yu2024-03-041-3/+3
* math.big constants were no longer initializeddev-2024-03Jeroen van Rijn2024-03-031-1/+6
* add Go licenseJuan Ignacio Díaz2024-02-171-1/+91
* port math.round from GolangJuan Ignacio Díaz2024-02-161-30/+73
* Remove bounds checking on a lot of linalgLucas Perlind2024-02-132-121/+121
* Revert "Change minor/adjoint to be `row, col` from `c, r` to be consistent wi...Lucas Perlind2024-02-132-172/+172
* Split out `linalg.identity` between matrices and array-based matrixgingerBill2024-02-121-1/+11
* Change minor/adjoint to be `row, col` from `c, r` to be consistent with `[row...gingerBill2024-02-122-172/+172
* Add `rand.choice_enum`gingerBill2024-02-101-0/+20
* Add `angle_between` and `matrix2_rotate`gingerBill2024-02-062-0/+62
* Replace `core:*` to `base:*` where appropriategingerBill2024-01-2822-28/+28
* Move matrix related procedures to the different `linalg` packagesgingerBill2024-01-284-47/+829
* Merge pull request #3082 from edyu/masterJeroen van Rijn2024-01-171-5/+7
|\
| * Fix math/fixed floor/ceil/roundEd Yu2024-01-081-5/+7
* | Fix linalg shadowing errorLucas Perlind2024-01-091-3/+3
|/
* Remove `distinct` from the specific typesgingerBill2024-01-051-64/+64
* Enforce naming the parameters with `builtin.quaternion` to reduce confusiongingerBill2024-01-051-1/+1
* Fix missing clamp in core:math/big random.Jeroen van Rijn2023-11-271-1/+1
* Merge pull request #2918 from flysand7/math-docJeroen van Rijn2023-11-241-11/+11
|\
| * [math]: Fix the doc comments on F64_* constantsflysand72023-11-041-11/+11
* | Make pow2_f{16,32,64} contextless for consistency.Jeroen van Rijn2023-11-111-3/+6
* | [core]: Remove `do` keyword from the core libraryflysand72023-11-111-1/+3
* | Work around LLVM idiocy.Jeroen van Rijn2023-11-041-2/+3
* | Add math.pow2_f{16,32,64}, fast floating point 2^x where x is an integer.Jeroen van Rijn2023-11-041-1/+48
|/
* Merge branch 'master' into new-sys-unixgingerBill2023-10-311-0/+14
|\
| * Replace Math.random with crypto.getRandomValues for _system_numberDamian Tarnawski2023-10-271-3/+5
| * Rename rand to rand_f64Damian Tarnawski2023-10-271-2/+3
| * Add system_random and random_bytes for js targetDamian Tarnawski2023-10-271-0/+11
* | Implement new sys/unix packageflysand72023-10-271-17/+18
|/
* Partial pseudo-revertgingerBill2023-10-021-4/+8
* Minor cleanups to the core librarygingerBill2023-09-302-2/+2
* Use `or_break` and `or_continue` where appropriate in the core librarygingerBill2023-09-301-8/+4
* Rename bitwise operations to `bit_or` etcgingerBill2023-09-281-8/+8
* Fixed up missing output for rand examplesLucas Perlind2023-09-271-1/+103
* Better guarantee boundaries of floating point randLucas Perlind2023-08-181-15/+30
* Update rand documentation about floatsLucas Perlind2023-08-161-8/+13
* Fix `_random_u64`gingerBill2023-08-151-3/+4