aboutsummaryrefslogtreecommitdiff
path: root/core/math/math.odin
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Strip even more semicolons if followed by a `}` or `)` on the same linegingerBill2021-08-311-176/+176
|
* Remove unneeded semicolons from the core librarygingerBill2021-08-311-466/+466
|
* Enforce `core:builtin` and `core:intrinsics` for importsgingerBill2021-08-211-1/+1
|
* Fix for value rather than type used for intrinsicsJoakim Hentula2021-05-311-6/+6
|
* Last of the Endian float in math.odin.Jeroen van Rijn2021-05-291-75/+111
|
* Even more Endian maths.Jeroen van Rijn2021-05-291-18/+96
|
* More Endian version of maths procs.Jeroen van Rijn2021-05-291-41/+139
|
* Add Endian versions of math routines.Jeroen van Rijn2021-05-291-28/+191
|
* Add f16 specific procedures to core:mathgingerBill2021-04-011-59/+240
|
* Remove `"pure"` and `"pure_none"` calling conventionsgingerBill2021-02-231-1/+1
|
* Fix math.factorial()Oskar Nordquist2020-12-131-1/+1
|
* Merge branch 'master' into parser-experimentsgingerBill2020-12-061-0/+24
|\
| * Add new math procedure: inf_f32 inf_f64 nan_f32 nan_f64gingerBill2020-11-111-0/+24
| |
* | Add experimental `-insert-semicolon` functionality to tokenizer and parsergingerBill2020-11-011-1/+1
|/
* Update math and math/linalg; add "pure_none" calling conventiongingerBill2020-09-101-3/+4
|