gingerBill
|
f40f12d480
|
Minor cleanup to math constants
|
2021-11-21 14:06:32 +00:00 |
|
Gus
|
56d2bbc5b9
|
Added back ln for js
|
2021-11-20 20:03:54 +11:00 |
|
gingerBill
|
1b28226a67
|
Add math.lgamma based off FreeBSD's /usr/src/lib/msun/src/e_lgamma_r.c
|
2021-11-16 15:32:32 +00:00 |
|
gingerBill
|
2b546a598c
|
Add math.signbit; Add math.gamma based on http://netlib.sandia.gov/cephes/cprob/gamma.c
|
2021-11-16 15:23:19 +00:00 |
|
gingerBill
|
b530ca9a5e
|
Add math.nextafter
|
2021-11-16 15:12:01 +00:00 |
|
gingerBill
|
d232796149
|
Fix typo
|
2021-11-16 15:09:47 +00:00 |
|
gingerBill
|
e721f26a76
|
Implement ln based off FreeBSD's /usr/src/lib/msun/src/e_log.c
|
2021-11-16 15:05:04 +00:00 |
|
gingerBill
|
91408cb21f
|
Implement atanh based on FreeBSD's /usr/src/lib/msun/src/e_atanh.c
|
2021-11-16 14:58:59 +00:00 |
|
gingerBill
|
eb8b0d7a03
|
Add log1p, erf, erfc, ilogb logb (implemented based of FreeBSD's)
|
2021-11-16 14:54:57 +00:00 |
|
gingerBill
|
880af47ae7
|
Rename math_js.odin to math_basic_js.odin
|
2021-11-16 14:26:04 +00:00 |
|
gingerBill
|
91949b0992
|
Implement math.sqrt with intrinsics.sqrt
|
2021-11-16 14:11:20 +00:00 |
|
gingerBill
|
6a101e69a2
|
Implement ldexp and frexp in native Odin
|
2021-11-16 14:04:49 +00:00 |
|
gingerBill
|
b9701340b8
|
Add linalg.matrix4_look_at_from_fru
|
2021-11-13 19:15:37 +00:00 |
|
gingerBill
|
c63f4d68c8
|
Add math_js.odin specific calls (that just wrap the f64 procedures)
|
2021-11-07 20:06:05 +00:00 |
|
gingerBill
|
518460af66
|
Begin work in semi-standardized js_wasm32 target
|
2021-11-07 19:56:01 +00:00 |
|
gingerBill
|
d8e34bd9b7
|
Add core:math/linalg/hlsl
|
2021-11-04 17:08:59 +00:00 |
|
gingerBill
|
d551144841
|
Add inverse for dmatN types
|
2021-11-04 16:09:19 +00:00 |
|
gingerBill
|
84540d7aa2
|
Add smoothstep
|
2021-11-04 15:57:27 +00:00 |
|
gingerBill
|
95f36d4fa5
|
Minor reorganization
|
2021-11-04 14:54:55 +00:00 |
|
gingerBill
|
3accf4048e
|
Add f64 variants of all types and procedures
|
2021-11-04 14:52:03 +00:00 |
|
gingerBill
|
eb05879148
|
Add more comments
|
2021-11-04 14:25:34 +00:00 |
|
gingerBill
|
a882118c56
|
Add comments
|
2021-11-04 14:20:47 +00:00 |
|
gingerBill
|
57d15ac6e7
|
Remove unneeded suffixes
|
2021-11-04 14:11:34 +00:00 |
|
gingerBill
|
e3cfdf6982
|
Remove build tag
|
2021-11-04 14:11:04 +00:00 |
|
gingerBill
|
017fe10762
|
core:math/linalg/glsl - GLSL-like mathematics types and operations
|
2021-11-04 14:09:12 +00:00 |
|
gingerBill
|
7bb7a741c6
|
Make math procedure contextless; Add asinh, acosh, atanh
|
2021-11-04 14:07:05 +00:00 |
|
gingerBill
|
87952fdb8e
|
big.Rat (Experimental)
|
2021-10-29 12:40:54 +01:00 |
|
Yawning Angel
|
ee724f183a
|
core:math/bits: Improve add/sub/mul_u64
* `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`
|
2021-10-27 12:37:35 +00:00 |
|
gingerBill
|
9fae575531
|
Keep -vet happy
|
2021-09-29 14:49:25 +01:00 |
|
gingerBill
|
de00c7c9a8
|
Add bits.log2
|
2021-09-15 15:18:20 +01:00 |
|
gingerBill
|
bff66ff600
|
Remove unnecessary operations
|
2021-09-08 19:07:25 +01:00 |
|
gingerBill
|
5006674a9b
|
Correct math/big
|
2021-09-08 13:14:13 +01:00 |
|
gingerBill
|
ca33cb990b
|
Strip semicolons in core which were missing
|
2021-09-08 13:12:38 +01:00 |
|
Jeroen van Rijn
|
f7601a759b
|
Move math/big tests under tests/.
|
2021-09-07 19:51:56 +02:00 |
|
Jeroen van Rijn
|
fbebf4bc4e
|
big: Add Python implementation of LCM.
|
2021-09-07 14:17:14 +02:00 |
|
Jeroen van Rijn
|
abb15ddb38
|
big: Implement isqrt in Python for the tests.
|
2021-09-07 13:55:37 +02:00 |
|
Jeroen van Rijn
|
c4ec459d28
|
bit: Force Python3 for CI.
|
2021-09-07 13:26:34 +02:00 |
|
Jeroen van Rijn
|
86cfb2ea82
|
big CI: Set relative path to Odin.
|
2021-09-07 13:22:44 +02:00 |
|
Jeroen van Rijn
|
0605a9f239
|
big: Run tests under CI.
|
2021-09-07 13:17:47 +02:00 |
|
Jeroen van Rijn
|
008048e199
|
big: Move tests into their own package.
|
2021-09-07 12:06:58 +02:00 |
|
Jeroen van Rijn
|
5619b349be
|
big: Remove core:fmt usage + Add a little demo to examples/demo.
|
2021-09-06 23:26:19 +02:00 |
|
Jeroen van Rijn
|
2c13315e72
|
compress: Update BSD-3 license + remove semicolons from compressed example.
|
2021-09-06 21:33:40 +02:00 |
|
gingerBill
|
2800d4b8d0
|
Merge branch 'master' into optional-semicolons
|
2021-09-06 16:46:57 +01:00 |
|
Jeroen van Rijn
|
de5d897b5c
|
Add internal_int_(pack, unpack).
|
2021-09-06 12:57:48 +02:00 |
|
Jeroen van Rijn
|
3faac14d62
|
big: Add ASCII file import/export.
|
2021-09-05 15:50:23 +02:00 |
|
Jeroen van Rijn
|
f33d0725db
|
big: Add Extended Euclidean algorithm.
|
2021-09-05 14:03:02 +02:00 |
|
Jeroen van Rijn
|
1f5ce91ae2
|
big: Add internal_random_prime.
|
2021-09-05 10:40:35 +02:00 |
|
Jeroen van Rijn
|
f2c5c26f2c
|
big: Add internal_int_prime_next_prime.
|
2021-09-04 16:31:05 +02:00 |
|
Jeroen van Rijn
|
52da5b8724
|
big: Default to Frobenius-Underwood. It's 10% faster than Lucas-Selfridge.
|
2021-09-03 23:54:54 +02:00 |
|
Jeroen van Rijn
|
b1ed7fc6b9
|
big: Add Lucas-Selfridge.
|
2021-09-03 23:54:54 +02:00 |
|