aboutsummaryrefslogtreecommitdiff
path: root/core/math/math.odin
Commit message (Collapse)AuthorAgeFilesLines
* Restrict `math.wrap` to floats.Jeroen van Rijn4 days1-1/+1
|
* rerrange math.sign and math.sign_bit overloadsPhil Homan2025-11-231-24/+24
|
* add math.sign and math.sign_bit overloads for int typesPhil Homan2025-11-221-1/+28
|
* Further overhaul of package line comments.Jeroen van Rijn2025-10-091-1/+1
|
* Package lines for `core:math` and more.Jeroen van Rijn2025-10-091-0/+1
|
* Fix #5764gingerBill2025-10-071-1/+6
|
* Get rid of duplicate `math.signbit` in favor of `math.sign_bit`Jeroen van Rijn2025-04-151-26/+0
|
* Fixed math.nextafter procs skipping from 0 to 1.Barinzaya2025-04-071-3/+3
|
* Fix binomial functionEvan Martinez2024-11-281-1/+1
|
* Fix #4227Jeroen van Rijn2024-09-101-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
|
* Add `core:math.count_digits_of_base`Feoramund2024-08-181-0/+30
|
* Add `@(rodata)` and `@(static, rodata)` where appropriategingerBill2024-06-061-9/+9
|
* Added docs for trig function procedure groupsalec hodgkinson2024-04-111-1/+28
|
* add Go licenseJuan Ignacio Díaz2024-02-171-1/+91
|
* port math.round from GolangJuan Ignacio Díaz2024-02-161-30/+73
|
* Replace `core:*` to `base:*` where appropriategingerBill2024-01-281-2/+2
|
* Merge pull request #2918 from flysand7/math-docJeroen van Rijn2023-11-241-11/+11
|\ | | | | [math]: Fix the doc comments on `F64_*` constants
| * [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
| |
* | 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
|/
* Keep -vet happygingerBill2023-07-311-12/+12
|
* Actually add math.hypotgingerBill2023-06-281-33/+39
|
* Add `math.hypot`gingerBill2023-06-281-0/+68
|
* Add @(require_results) to `core:math` proceduresgingerBill2023-05-221-249/+391
|
* 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 the builtin procedures `abs`, `clamp` `min`, `max` to `core:math` as aliasesgingerBill2022-09-081-0/+6
|
* Correct assignmentgingerBill2022-08-151-2/+2
|
* Add `math.divmod` and `math.floor_divmod`gingerBill2022-08-151-0/+19
|
* fixed math.log2blake2022-08-061-10/+17
|
* fix parameter for atan2 in procedure asinYeongju Kang2022-07-221-1/+1
|
* Fix #1627: Remove wrong return type in cumsum_inplaceStanislav Ch. Nikolov2022-03-171-2/+2
|
* Fix issue #1574 "fract in linalg/glm is broken" by fixinggitlost2022-03-081-5/+26
| | | | | | | | | trunc_f16/32/64 in "math.odin" (~ typos on expressions) Fix classify_f16 Inf test (would fail for subnormal 0h0001) by changing multiplier 0.5 -> 0.25 Add some useful consts to "math.odin" (INF_F16 etc) Add comment to "demo.odin" mentioning that -0.0 must be used to specify negative zero
* fix math.prodgilles2021-12-161-0/+1
| | | | accumulator was not initialized to one
* Minor cleanup to math constantsgingerBill2021-11-211-17/+14
|
* Add `math.signbit`; Add `math.gamma` based on ↵gingerBill2021-11-161-0/+22
| | | | http://netlib.sandia.gov/cephes/cprob/gamma.c
* Add `math.nextafter`gingerBill2021-11-161-0/+59
|
* Implement `ln` based off FreeBSD's /usr/src/lib/msun/src/e_log.cgingerBill2021-11-161-12/+0
|
* 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-161-22/+172
|
* Implement `ldexp` and `frexp` in native OdingingerBill2021-11-161-32/+142
|
* Begin work in semi-standardized `js_wasm32` targetgingerBill2021-11-071-60/+0
|
* Make `math` procedure `contextless`; Add `asinh`, `acosh`, `atanh`gingerBill2021-11-041-293/+302
|