5cb2f240e0
Fix implementation defined behaviour in guf_wrapping_mul
2025-12-23 14:11:05 +01:00
dd4155d944
Add math_ckdint tests
2025-12-23 14:11:05 +01:00
26015e2380
Refactor tests
2025-12-23 14:11:05 +01:00
4111f54159
Add checked arithmetic
2025-12-23 14:11:05 +01:00
111023b7b1
Add guf_tok test
2025-12-23 14:11:05 +01:00
f5a91be8df
Add more guf_str tests
2025-12-23 14:11:05 +01:00
936a9dac56
Re-implement guf_str tokeniser
2025-12-23 14:11:05 +01:00
e923775769
Fix guf_str bugs and add tests
2025-12-23 14:11:05 +01:00
e2036b768e
Fix guf_dict_init_with_capacity kv_idx_cap calculation
2025-12-23 14:11:05 +01:00
5d2c4be265
Add separate 32/64 bit versions to guf_rand
2025-12-23 14:11:05 +01:00
b541100a76
Change directory structure
2025-12-23 14:11:05 +01:00
25cf7f17b7
Fix dict asserts
2025-12-23 14:11:05 +01:00
c8ffde8c19
Fix warnings in release
2025-12-23 14:11:05 +01:00
18f4496204
Fix GUF_DICT_64_BIT_IDX and guf_dict_max_capacity()
2025-12-23 14:11:05 +01:00
f3f7cec5f4
Use single u32/u64 as GUF_DICT_KV_META_T instead of two
2025-12-23 14:11:05 +01:00
517151b342
Change short-string approach to use 32 instead of 40 bytes
2025-12-23 14:11:05 +01:00
7e348e74bc
Change linalg mat_inverse.
...
Still not sure whether it's better to calculate
rref[pivot_row][col] * (rref[row][pivot_col] / pivot_val) (option 1)
vs.
rref[pivot_row][col] * rref[row][pivot_col] / pivot_val (option 2)
(i.e. a * b / c vs. "a * (b/c))
in terms of floating point error.
But I think option 1 (current commit) is better, since the scale factor
(rref[row][pivot_col] / pivot_val) is always <= 1 here (I think).
2025-12-23 14:11:05 +01:00
ea6a63aa3a
Fix linalg bugs
2025-12-23 14:11:05 +01:00
bf5a8d9aac
Add guf_nearly_zero/one
2025-12-23 14:11:05 +01:00
5f16855dab
Add matrix inversion
2025-12-23 14:11:05 +01:00
93e9603218
Fix guf_dict size types
2025-12-23 14:11:05 +01:00
ac9fa9f9ce
Add quaternion operations
2025-12-23 14:11:05 +01:00
57e405714d
Add linear algebra functions
2025-12-23 14:11:05 +01:00
f942cd8160
Add GUF_CSTR_TO_VIEW_CPP
2025-12-23 14:11:04 +01:00
2bf683906b
Add more dict tests
2025-12-23 14:11:04 +01:00
8197a5f45f
Add dict_erase tests
2025-12-23 14:11:04 +01:00
98774f842f
Fix guf_dict probing
2025-12-23 14:11:04 +01:00
6bed0d7616
Fix guf_dict growth bug
2025-12-23 14:11:04 +01:00
467f9be00a
Refactor
2025-12-23 14:11:04 +01:00
02cd5937a1
Make preserved_delims work (in guf_str_next_tok)
2025-12-23 14:11:04 +01:00
947041838e
Add tokeniser
2025-12-23 14:11:04 +01:00
d59d29f9f1
Add utf-8 handling
2025-12-23 14:11:04 +01:00
ead8bd8914
Work on utf-8
2025-12-23 14:11:04 +01:00
5e377a4c4d
Add more tests
2025-12-23 14:11:04 +01:00
d687bfe441
Improve tests
2025-12-23 14:11:04 +01:00
27d0cc65e4
Add C++ tests
2025-12-23 14:11:04 +01:00