aboutsummaryrefslogtreecommitdiff
path: root/core/math
Commit message (Collapse)AuthorAgeFilesLines
* 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 ↵gingerBill2023-08-154-131/+28
| | | | internally
* 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
|\ | | | | Fix conversions between fixed point numbers and f64
| * 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
| | | | `complex*` types only at the moment, `quaternion*` types coming later
* 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 ↵gingerBill2023-06-264-7/+7
| | | | `switch`/`for` statements
* 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
| | | | | | Possible output allows us to just type check a test and have some sort of output field in the docs but not actually verify it matches stdout
* Add `@(require_results)` to `core:math/ease`gingerBill2023-05-221-41/+76
|
* Add `@(require_results)` and `contextless` to procedures in `core:math/bits`gingerBill2023-05-221-84/+161
|
* Add `@(require_results)` to `core:math/fixed`gingerBill2023-05-221-0/+11
|
* Add `@(require_results)` to `core:math/linalg`'s `glsl` and `hlsl` packagesgingerBill2023-05-224-1265/+1307
|
* Add "contextless" to `core:math/linalg` proceduresgingerBill2023-05-227-620/+620
|
* Add `@(require_results)` `core:math/linalg` proceduresgingerBill2023-05-227-24/+638
|
* Add `@(require_results)` to `core:math/noise`gingerBill2023-05-221-0/+9
|
* Add `@(require_results)` to `core:math/rand`gingerBill2023-05-227-7/+49
|
* Add @(require_results) to `core:math` proceduresgingerBill2023-05-227-335/+488
|
* Fix #2545 - Typo in vec4 lerping proceduresKyleRhoads452023-05-181-2/+2
|
* linalg/extended radians and degrees fixedJesse Stiller2023-04-271-4/+5
| | | | Renamed them to `to_degrees` and `to_radians` to match the same scalar functions in math--plus it helps clarify exactly what they do. And fixed a bug where the array overloads weren't being indexed.
* Add parentheses around `or_return` uses in an unary expressiongingerBill2023-04-271-6/+6
|
* Fix #2389Mostafa Saad2023-03-171-4/+4
|
* Fix typo in linalg.anySaid Al Attrach2022-12-131-1/+1
|
* Add `math.pow10`gingerBill2022-11-291-0/+86
|
* Improve core:math procedures and add loads of unit testsgingerBill2022-11-291-12/+42
|
* Fix `atan2` by swapping the arguments internallygingerBill2022-11-291-1/+1
|
* Implement `asin` in native OdingingerBill2022-11-041-2/+103
|
* Implement `acos` in native OdingingerBill2022-11-041-5/+106
|
* Fix atrig functionsgingerBill2022-11-041-3/+3
|
* Add doc.odingingerBill2022-11-031-0/+2
|
* Merge pull request #1544 from FancyKillerPanda/build_ignoregingerBill2022-11-032-3/+1
|\ | | | | Changed `//+ignore` to `//+build ignore` and emit a warning for unknown tags
| * Changed //+ignore to //+build ignore.FancyKillerPanda2022-02-242-3/+1
| |
* | Add `core:math/rand.choice`Jeroen van Rijn2022-10-231-0/+9
| |
* | Fix #2052 typo in linalg.max_singlegingerBill2022-09-171-1/+1
| |
* | Add the builtin procedures `abs`, `clamp` `min`, `max` to `core:math` as aliasesgingerBill2022-09-081-0/+6
| |
* | fix ease.odin compile error from missing commaPhil2022-08-311-1/+1
| |
* | Change math/linalg/general.odin vector_length and vector_normalize to only ↵Phil2022-08-151-3/+3
| | | | | | | | accept vectors of float types rather than any numeric type
* | Correct assignmentgingerBill2022-08-151-2/+2
| |