aboutsummaryrefslogtreecommitdiff
path: root/core/math
Commit message (Collapse)AuthorAgeFilesLines
* flux fixed key deletion and generic in `flux_to`Michael Kutowski2022-06-281-11/+23
|
* wrong variable names in functionshfr42022-06-141-5/+5
|
* Add `_system_random` for DarwingingerBill2022-05-151-0/+21
|
* Add `rand.init_as_system` to allow for system-level based random number ↵gingerBill2022-05-153-0/+56
| | | | generation
* Add Gompertz DistributiongingerBill2022-05-151-2/+22
|
* Add more distributionsgingerBill2022-05-151-0/+41
|
* Correct log normalgingerBill2022-05-151-1/+1
|
* Fix typogingerBill2022-05-151-2/+2
|
* Move distributions to a separate filegingerBill2022-05-152-251/+251
|
* Add numerous different random distribution proceduresgingerBill2022-05-151-0/+252
|
* Fix #1644gingerBill2022-04-261-3/+3
|
* [ease] Fix `flux_stop`.Jeroen van Rijn2022-03-311-7/+7
|
* [ease] Flux fixups.Jeroen van Rijn2022-03-271-10/+8
|
* update delay to use deltatime, add time leftMichael Kutowski2022-03-271-11/+30
|
* add math easing packageMichael Kutowski2022-03-271-0/+466
|
* 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
* Ports OpenSimplex2 from https://github.com/KdotJPG/OpenSimplex2 to Odin. ↵NoahR022022-02-082-0/+905
| | | | Adds tests for the noise procedures.
* Add `#partial [Enum]Type{...}` support to check for missing enumerated array ↵gingerBill2022-02-051-0/+1
| | | | fields
* Correct `#sparse` usage and error messagesgingerBill2022-02-051-1/+1
|
* Initialize the `global_rand` with the `intrinsics.read_cycle_counter()` valuegingerBill2022-02-031-3/+3
|
* Add allocator parameter to `rand.perm`gingerBill2022-02-011-2/+2
|
* Add `round` to linalg_glsl_math.odingingerBill2022-01-301-0/+2
|
* Added round to HLSL and GLSL, and isinf/isfinite + isnan to HLSLJesse Stiller2022-01-303-0/+104
|
* Add `rand.exp_float64`gingerBill2022-01-272-8/+220
|
* Correct int31_max etcgingerBill2022-01-271-3/+3
|
* Improve docs_writer.cppgingerBill2022-01-173-25/+24
|
* Simplify docs to hide the copyrightgingerBill2022-01-1711-37/+47
|
* Extraneous parameters in hlsl/glsl.saturate removedJesse Stiller2022-01-172-33/+32
| | | | | | This is a breaking change to anyone who used glsl/hlsl.saturate functions prior, but the y and z parameters never were used and do not conform to how the saturate function works in HLSL: https://docs.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl-saturate Note however GLSL does not contain a saturate function, but removing it does not accomplish anything good IMO.
* `ODIN_ENDIAN` changed to an enum constant; `ODIN_ENUM_STRING` is the new ↵gingerBill2022-01-151-16/+16
| | | | string version of the old constant
* Fix polymorphic matrix element with a minor hackgingerBill2022-01-101-4/+4
|
* Update matrix types to be the native Odin `matrix` typesgingerBill2022-01-106-2164/+2103
|
* Fix quaternion castinggingerBill2022-01-031-2/+2
|
* 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
|