11 Commits

Author SHA1 Message Date
jun
48b366d8e9 Fix warnings in release 2025-03-19 18:29:52 +01:00
jun
b01e087c85 Fix GUF_DICT_64_BIT_IDX and guf_dict_max_capacity() 2025-03-19 16:16:41 +01:00
jun
e535d39e3d Fix allocation overflow for guf_dbuf and guf_dict
(Implement GUF_ALLOC_MAX_BYTES and GUF_ALLOC_MAX_CAPACITY).
2025-03-18 13:43:36 +01:00
jun
ad884ee1e9 Implement guf_str 2025-03-17 21:17:07 +01:00
jun
ae104919e0 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-03-07 21:24:53 +01:00
jun
e489dd694b Add quaternion operations 2025-03-06 11:52:24 +01:00
jun
9d62df6a83 Add more dict tests 2025-03-04 06:52:42 +01:00
jun
8e6ffcdc70 Add dict_erase tests 2025-03-03 16:14:13 +01:00
jun
cd1c1cd5db Refactor 2025-03-02 18:25:54 +01:00
jun
217622d816 Add tokeniser 2025-02-27 10:21:21 +01:00
jun
60e2849b01 Work on utf-8 2025-02-26 03:57:04 +01:00