aboutsummaryrefslogtreecommitdiff
path: root/core/math
Commit message (Collapse)AuthorAgeFilesLines
...
* bigint: `itoa` now writes backwards directly, no need to reverse after.Jeroen van Rijn2021-08-112-27/+40
|
* bigint: pass `size` to `itoa_raw`.Jeroen van Rijn2021-08-111-10/+21
|
* bigint: itoa works for numbers <= 120 bits.Jeroen van Rijn2021-08-113-20/+61
|
* bigint: Fast paths for radix code.Jeroen van Rijn2021-08-113-25/+154
|
* bigint: log_n for bases that fit within one DIGIT or are a power of two.Jeroen van Rijn2021-08-113-35/+117
|
* bigint: Working on `itoa` and `logn`.Jeroen van Rijn2021-08-116-28/+172
|
* bigint: Add `count_bits` and more prep.Jeroen van Rijn2021-08-114-20/+41
|
* bigint: Prepare for multiplication.Jeroen van Rijn2021-08-112-11/+53
|
* bigint: Add substractin with immediate.Jeroen van Rijn2021-08-113-13/+95
|
* Add single DIGIT addition.Jeroen van Rijn2021-08-113-39/+186
|
* bigint: Add prototypes for immediate add+sub.Jeroen van Rijn2021-08-112-15/+41
|
* bigint: Improve `add`.Jeroen van Rijn2021-08-112-14/+57
|
* Start of core:math/bigintJeroen van Rijn2021-08-116-0/+693
| | | | | | | | | | | | | We have: - `init` to create a new `Int` - `init(from_integer)` to create a new `Int` and set it to `from_integer`. - `set(Int, from_integer)` to set an `Int` to `from_integer` - `add(dest, a, b)` to add `a` and `b` into `dest`. - `sub(dest, a, b)` to subtract `b` from `a` and put the result in `dest`. And a few helper functions, like: - `is_zero`, `is_negative`, ... - `grow`, `shrink`, `clear`, `zero`
* Add `#no_bounds_check` to linalg proceduresgingerBill2021-07-031-15/+10
|
* Improve `linalg.transpose` type determination for square matricesgingerBill2021-06-281-2/+1
|
* Change uses for parapoly records to use `$` alwaysgingerBill2021-06-141-1/+1
|
* Fix transposinggingerBill2021-06-041-6/+6
|
* Fix typogingerBill2021-06-041-1/+1
|
* Fix linalg.transposegingerBill2021-06-031-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
|
* Remove @(static) for global variablesgingerBill2021-05-191-2/+2
|
* Remove `import "core:runtime"` from `core:math/bits`gingerBill2021-04-251-1/+0
|
* Add `intrinsics.count_zeros`gingerBill2021-04-251-64/+9
|
* Rename intrinsics to count_trailing_zeros and count_leading_zerosgingerBill2021-04-251-27/+6
|
* Replace many `foreign` llvm calls with intrinsicsgingerBill2021-04-251-142/+18
|
* Fix missing newlines in core:math/linalg/specific.odinvassvik2021-04-091-2/+4
|
* Add core:math/fixedgingerBill2021-04-011-0/+133
|
* Add `f16` support to core:math/linalggingerBill2021-04-014-124/+2284
|
* Add f16 specific procedures to core:mathgingerBill2021-04-011-59/+240
|
* Add `linalg.matrix_cast`gingerBill2021-03-261-2/+3
|
* Add `linalg.matrix_cast`gingerBill2021-03-261-4/+13
|
* Fix typo in cubic().Jeroen van Rijn2021-03-161-1/+1
|
* Update package core:math/linalg to support matrix3 euler angle operationsgingerBill2021-03-163-45/+1209
|
* Minor update to math/linalggingerBill2021-03-031-5/+72
|
* Improve math/linalg to support both f32 and f64 basic procedures for the ↵gingerBill2021-03-036-943/+3029
| | | | specific*.odin files
* Minimize unneeded castsgingerBill2021-03-031-4/+4
|
* Merge branch 'master' of https://github.com/odin-lang/OdingingerBill2021-02-231-1/+1
|\
| * Update extended.odinWalterPlinge2021-02-231-1/+1
| |
* | Replace `inline` uses in the rest of core with `#force_inline`gingerBill2021-02-231-16/+16
|/
* Remove `"pure"` and `"pure_none"` calling conventionsgingerBill2021-02-231-1/+1
|
* Add to package math/bits `bitfield_extract` and `bitfield_insert`gingerBill2021-02-191-0/+125
|
* 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
|/
* Remove usage of `do` in core librarygingerBill2020-09-233-8/+20
|