Feoramund
|
2af121752a
|
Require base:runtime import in core:math/linalg
|
2024-06-28 11:34:35 -04:00 |
|
Jeroen van Rijn
|
c33bf7673f
|
Fix core:math/fixed.
|
2024-06-26 20:12:55 +02:00 |
|
gingerBill
|
149ecafdef
|
Remove the need for rand in core:math/big
|
2024-06-15 15:43:57 +01:00 |
|
gingerBill
|
7ec17ecf98
|
Update core:math/rand to use context.random_generator and remove rand.Rand
|
2024-06-15 15:33:24 +01:00 |
|
gingerBill
|
318d5e4a7e
|
Add Reset mode
|
2024-06-15 15:17:23 +01:00 |
|
gingerBill
|
c2a01096c4
|
Remove unneeded reassignment of r
|
2024-06-15 14:49:09 +01:00 |
|
gingerBill
|
dc4ec8638c
|
Add runtime.Random_Generator interface
|
2024-06-15 14:45:57 +01:00 |
|
Jeroen van Rijn
|
908a6ff2d4
|
Elide unnecessary condition
|
2024-06-14 21:34:05 +02:00 |
|
Josh Jones
|
759139089f
|
Fix big.shrink not actually shrinking
|
2024-06-14 19:58:13 +02:00 |
|
gingerBill
|
c1e81dc14d
|
Fix #3726
|
2024-06-10 15:05:24 +01:00 |
|
Jeroen van Rijn
|
5985c6e3df
|
Merge pull request #3718 from Feoramund/add-missing-big-atoi-alias
Add missing `string_to_int` alias in `core:math/big`
|
2024-06-10 03:58:56 +02:00 |
|
Feoramund
|
70820c2c40
|
Add missing string_to_int alias in core:math/big
|
2024-06-09 21:42:31 -04:00 |
|
Feoramund
|
5fbd876db1
|
Add permutation & combination procedures to core:math/big
|
2024-06-09 20:42:04 -04:00 |
|
gingerBill
|
3a9b86628a
|
Add @(rodata) and @(static, rodata) where appropriate
|
2024-06-06 15:23:52 +01:00 |
|
Feoramund
|
88598c2c64
|
Make use of runtime.Raw_* types in core:math/linalg
|
2024-06-03 15:58:33 -04:00 |
|
Feoramund
|
01ad69413a
|
Remove unused code in internal_random_prime
|
2024-05-28 01:36:44 -04:00 |
|
shashank
|
fb6248925a
|
fix pitch_from_quaternion
|
2024-05-27 23:38:50 +05:30 |
|
Laytan
|
d7fdccb08c
|
fix a couple of -vet-style failures after f54977336b
|
2024-05-09 19:39:48 +02:00 |
|
IllusionMan1212
|
1f5f417116
|
fix(linalg/glsl): incorrect quat by vector3 multiplication
|
2024-04-28 21:44:34 +02:00 |
|
Yawning Angel
|
e2fa9be7e2
|
core/math/rand: Use core:crypto for the system RNG
This removes some code duplication and expands support for the system
RNG to all targets that `core:crypto` supports.
|
2024-04-23 11:47:43 +09:00 |
|
Feoramund
|
3e449e93dd
|
Implement Fisher-Yates shuffle
|
2024-04-15 17:07:05 -04:00 |
|
Feoramund
|
a294f067a9
|
Fix big.internal_random_prime with Second_MSB_On
|
2024-04-15 05:49:15 -04:00 |
|
alec hodgkinson
|
4cdadeedc3
|
Added docs for trig function procedure groups
|
2024-04-11 09:55:43 -07:00 |
|
gingerBill
|
3b5e515a22
|
Fix #3386 - fixed.to_string
|
2024-04-10 14:35:14 +01:00 |
|
blob1807
|
fde4e8c905
|
Removed undefined & usused vars
Removed undefined& usused vars in init_from_parts
|
2024-04-06 21:49:50 +10:00 |
|
gingerBill
|
398af659e5
|
Fix #3323
|
2024-03-24 13:33:30 +00:00 |
|
gingerBill
|
29e5f94c2a
|
Add #no_broadcast procedure parameter to disallow automatic array programming broadcasting on procedure arguments
|
2024-03-21 11:52:48 +00:00 |
|
Ed Yu
|
dd74a57c44
|
Expose internal invmod and int_exponent_mod with more consistent naming
|
2024-03-12 11:01:09 -07:00 |
|
spindlebink
|
b2e7eb4db4
|
Properly initialize return matrices in linalg.orthonormalize
|
2024-03-09 09:10:25 -06:00 |
|
Jeroen van Rijn
|
db03c86544
|
Fix typo in big.internal_invmod
Fixes #3253
|
2024-03-08 18:05:34 +01:00 |
|
Ed Yu
|
de41c2256d
|
For invmod, b has to be > 1, fix a logic typo
|
2024-03-04 10:16:19 -08:00 |
|
Jeroen van Rijn
|
4c35633e01
|
math.big constants were no longer initialized
Fixes #3243
|
2024-03-03 15:09:38 +01:00 |
|
Juan Ignacio Díaz
|
cd61251d39
|
add Go license
|
2024-02-17 11:49:07 -03:00 |
|
Juan Ignacio Díaz
|
7a592cbb31
|
port math.round from Golang
|
2024-02-16 13:23:44 -03:00 |
|
Lucas Perlind
|
6df07a2c0a
|
Remove bounds checking on a lot of linalg
|
2024-02-13 10:23:29 +11:00 |
|
Lucas Perlind
|
c0d407a2b4
|
Revert "Change minor/adjoint to be row, col from c, r to be consistent with [row, col] syntax; Add #no_bounds_check were appropriate"
This reverts commit 5dd2e38aff.
|
2024-02-13 10:13:34 +11:00 |
|
gingerBill
|
900fe95ba0
|
Split out linalg.identity between matrices and array-based matrix
|
2024-02-12 12:08:43 +00:00 |
|
gingerBill
|
5dd2e38aff
|
Change minor/adjoint to be row, col from c, r to be consistent with [row, col] syntax; Add #no_bounds_check were appropriate
|
2024-02-12 11:54:24 +00:00 |
|
gingerBill
|
e201a2fabb
|
Add rand.choice_enum
|
2024-02-10 15:13:09 +00:00 |
|
gingerBill
|
b0675358c3
|
Add angle_between and matrix2_rotate
|
2024-02-06 14:09:05 +00:00 |
|
gingerBill
|
3e7e779abf
|
Replace core:* to base:* where appropriate
|
2024-01-28 22:18:51 +00:00 |
|
gingerBill
|
f67691c457
|
Move matrix related procedures to the different linalg packages
|
2024-01-28 21:28:54 +00:00 |
|
Jeroen van Rijn
|
1b83f4a18b
|
Merge pull request #3082 from edyu/master
Fix math/fixed floor/ceil/round
|
2024-01-17 19:13:22 +01:00 |
|
Ed Yu
|
7f6f971284
|
Fix math/fixed floor/ceil/round
|
2024-01-08 18:56:12 -08:00 |
|
Lucas Perlind
|
67d5b97ff9
|
Fix linalg shadowing error
|
2024-01-09 10:24:12 +11:00 |
|
gingerBill
|
b408ec6bac
|
Remove distinct from the specific types
|
2024-01-05 14:48:39 +00:00 |
|
gingerBill
|
0b83e3dae5
|
Enforce naming the parameters with builtin.quaternion to reduce confusion
|
2024-01-05 14:29:14 +00:00 |
|
Jeroen van Rijn
|
f79efd43e4
|
Fix missing clamp in core:math/big random.
|
2023-11-27 12:43:24 +01:00 |
|
Jeroen van Rijn
|
9ea88f1353
|
Merge pull request #2918 from flysand7/math-doc
[math]: Fix the doc comments on `F64_*` constants
|
2023-11-24 14:16:19 +01:00 |
|
Jeroen van Rijn
|
dd9b0ae4e5
|
Make pow2_f{16,32,64} contextless for consistency.
|
2023-11-11 14:06:48 +01:00 |
|