aboutsummaryrefslogtreecommitdiff
path: root/core/math
Commit message (Collapse)AuthorAgeFilesLines
* Fix conversion from float to quaterniongingerBill2021-12-311-2/+2
|
* fix math.prodgilles2021-12-161-0/+1
| | | | accumulator was not initialized to one
* [math/big] Rename `internal_int_shl_digit` to `_private_int_shl_leg`.Jeroen van Rijn2021-12-113-129/+96
| | | | | Same for the SHR variant. These are pure implementation details to shift by a leg/word at a time. Prevent accidental usage.
* Fix `rat_set_f64`gingerBill2021-12-111-5/+5
|
* Merge pull request #1358 from Kelimion/big_math_fixJeroen van Rijn2021-12-091-0/+5
|\ | | | | [math/big] Return 0, .Integer_Underflow if T = unsigned and bigint is negative.
| * [math/big] Return 0, .Integer_Underflow if trying to get a negative number ↵Jeroen van Rijn2021-12-091-0/+5
| | | | | | | | to an unsigned int.
* | Merge branch 'master' of https://github.com/odin-lang/OdingingerBill2021-12-092-27/+48
|\|
| * [math/big] Fix int_set and int_get.Jeroen van Rijn2021-12-092-31/+51
| |
* | Add utility procedures to get low valuesgingerBill2021-12-091-0/+29
| |
* | Minor style changegingerBill2021-12-091-5/+5
|/
* Fix bugs in big.Rat caused by typosgingerBill2021-12-071-3/+3
|
* Minor cleanup to math constantsgingerBill2021-11-214-39/+36
|
* Added back ln for jsGus2021-11-201-1/+13
|
* Add `math.lgamma` based off FreeBSD's `/usr/src/lib/msun/src/e_lgamma_r.c`gingerBill2021-11-161-0/+361
|
* Add `math.signbit`; Add `math.gamma` based on ↵gingerBill2021-11-162-0/+248
| | | | http://netlib.sandia.gov/cephes/cprob/gamma.c
* Add `math.nextafter`gingerBill2021-11-161-0/+59
|
* Fix typogingerBill2021-11-161-1/+1
|
* Implement `ln` based off FreeBSD's /usr/src/lib/msun/src/e_log.cgingerBill2021-11-162-19/+117
|
* Implement `atanh` based on FreeBSD's /usr/src/lib/msun/src/e_atanh.cgingerBill2021-11-161-2/+42
|
* Add `log1p`, `erf`, `erfc`, `ilogb` `logb` (implemented based of FreeBSD's)gingerBill2021-11-163-22/+780
|
* Rename math_js.odin to math_basic_js.odingingerBill2021-11-161-0/+0
|
* Implement `math.sqrt` with `intrinsics.sqrt`gingerBill2021-11-162-9/+17
|
* Implement `ldexp` and `frexp` in native OdingingerBill2021-11-164-45/+144
|
* Add `linalg.matrix4_look_at_from_fru`gingerBill2021-11-131-0/+49
|
* Add math_js.odin specific calls (that just wrap the `f64` procedures)gingerBill2021-11-072-0/+44
|
* Begin work in semi-standardized `js_wasm32` targetgingerBill2021-11-072-60/+60
|
* Add `core:math/linalg/hlsl`gingerBill2021-11-042-0/+1841
|
* Add inverse for dmatN typesgingerBill2021-11-041-4/+12
|
* Add `smoothstep`gingerBill2021-11-041-0/+25
|
* Minor reorganizationgingerBill2021-11-041-111/+114
|
* Add `f64` variants of all types and proceduresgingerBill2021-11-042-37/+695
|
* Add more commentsgingerBill2021-11-041-12/+16
|
* Add commentsgingerBill2021-11-041-2/+1
|
* Remove unneeded suffixesgingerBill2021-11-041-8/+8
|
* Remove build taggingerBill2021-11-041-1/+0
|
* `core:math/linalg/glsl` - GLSL-like mathematics types and operationsgingerBill2021-11-042-0/+1186
|
* Make `math` procedure `contextless`; Add `asinh`, `acosh`, `atanh`gingerBill2021-11-041-293/+302
|
* `big.Rat` (Experimental)gingerBill2021-10-295-14/+614
|
* core:math/bits: Improve add/sub/mul_u64Yawning Angel2021-10-271-42/+30
| | | | | | * `add_u32`/`add_u64`/`add_uint` are now constant time * `sub_u32`/`sub_u64`/`sub_uint` are now constant time * `mul_u64` now uses `u128`
* Keep `-vet` happygingerBill2021-09-291-2/+1
|
* Add `bits.log2`gingerBill2021-09-151-0/+4
|
* Remove unnecessary operationsgingerBill2021-09-081-6/+6
|
* Correct math/biggingerBill2021-09-082-7/+2
|
* Strip semicolons in core which were missinggingerBill2021-09-082-4/+10
|
* Move math/big tests under `tests/`.Jeroen van Rijn2021-09-073-1159/+0
|
* big: Add Python implementation of LCM.Jeroen van Rijn2021-09-072-19/+44
|
* big: Implement isqrt in Python for the tests.Jeroen van Rijn2021-09-072-4/+24
|
* bit: Force Python3 for CI.Jeroen van Rijn2021-09-071-3/+3
|
* big CI: Set relative path to Odin.Jeroen van Rijn2021-09-071-3/+4
|
* big: Run tests under CI.Jeroen van Rijn2021-09-071-2/+2
|