aboutsummaryrefslogtreecommitdiff
path: root/core/math
Commit message (Expand)AuthorAgeFilesLines
* 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
* Change algorithm to work on 64-bit integers rather than 32-bit integers inter...gingerBill2023-08-154-131/+28
* Fix range comment from `(0, n]` to `[0, n)`gingerBill2023-08-151-8/+8
* Merge pull request #2661 from Beefster09/fixed-f64-conversiongingerBill2023-08-071-5/+7
|\
| * Update fixed.odinJustin Snyder2023-07-151-5/+7
* | Keep -vet happygingerBill2023-07-311-12/+12
|/
* Remove math usage of raw LLVM intrinsic prototypesgingerBill2023-07-071-16/+82
* Begin work on `core:math/cmplx`gingerBill2023-06-283-0/+1195
* Add `math.sincos`gingerBill2023-06-281-0/+308
* Actually add math.hypotgingerBill2023-06-281-33/+39
* Add `math.hypot`gingerBill2023-06-281-0/+68
* Replace `x in &y` Use `&v in y` syntax through core & vendor for `switch`/`fo...gingerBill2023-06-264-7/+7
* Use positional and named arguments within the core librarygingerBill2023-06-211-1/+1
* Document core:math/rand and add 'possible output'Lucas Perlind2023-05-311-23/+635