Commit Graph

3682 Commits

Author SHA1 Message Date
dzaima
641039520d make genericDesc crash on invalid argument 2025-05-26 01:53:44 +03:00
dzaima
8cc1e08f46 fix FFI error message on too-large characters 2025-05-26 01:53:44 +03:00
dzaima
454d1b072d move arr⌾(m⊸/)𝕩 over to new DirectArr thing 2025-05-26 01:53:44 +03:00
dzaima
3abd77fed8 remove unused mut fns 2025-05-26 01:53:44 +03:00
dzaima
7dc5aa9090 more complete DirectArr thing, use for 𝔽⌾(f64arr⊸⊏) 2025-05-26 01:53:44 +03:00
dzaima
eca886ed4d mark debug helpers with default visibility 2025-05-25 21:19:35 +03:00
dzaima
e398d127d4 fix comment 2025-05-24 16:40:09 +03:00
dzaima
fd58b87e61 avoid UB __shl{neative,x} 2025-05-24 05:40:56 +03:00
dzaima
7aaa240ab1 synchronize test helpers 2025-05-24 01:17:42 +03:00
dzaima
dd82d3fb54 in-place c¨⌾(is⊸⊏)fillarr
+ use toEltypeArr for generic 𝔽⌾(is⊸⊏)𝕩; not "faster", but just nicer to work with
2025-05-24 00:28:51 +03:00
dzaima
124d094591 fast c¨⌾(is⊸⊏)list 2025-05-23 23:56:00 +03:00
dzaima
d79bdafaa8 actually a generic arr_ptr is maybe not a sane thing 2025-05-23 23:50:13 +03:00
dzaima
1c20f3eac5 fix memory leak in 𝔽⌾(is⊸⊏) highRank 2025-05-23 21:01:58 +03:00
dzaima
cc0462aa53 move arr_ptr from mut.c to core includes 2025-05-23 21:01:49 +03:00
dzaima
e02c267ef5 print type name in corrupted tail report 2025-05-23 20:19:45 +03:00
dzaima
398d387c22 fix arr⌾(is⊸⊏) highrank range check 2025-05-23 20:08:26 +03:00
dzaima
3fe7bd89bf Singeli implementation of reflexive float comparison 2025-05-23 03:04:38 +03:00
dzaima
186acd6c8d move and_bit_none impl to x86.singeli; add andn_bit_none 2025-05-23 01:58:08 +03:00
dzaima
1e53078324 make match functions take ux instead of u64 for length 2025-05-23 00:47:04 +03:00
dzaima
2a57cb30b8 fix eequal on different NaN patterns
+ rename compareFloat→floatCompare to be more consistent
2025-05-23 00:42:07 +03:00
dzaima
a7897ddcde get rid of NEEQUAL_NEGZERO
as compatibility checking now relies on eequal, it can no longer do funky things
2025-05-23 00:23:13 +03:00
dzaima
b0877bfad9 use reflexive match for (2‿3⥊0÷0)⌾(0‿0⊸⊏) 2‿3⥊1 fix 2025-05-22 23:58:04 +03:00
dzaima
d1855f14e9 refactor match function direct calling 2025-05-22 23:56:02 +03:00
dzaima
aab1a15c39 better eequal impl 2025-05-22 23:45:41 +03:00
dzaima
7947f86833 basic fix for (2‿3⥊0÷0)⌾(0‿0⊸⊏) 2‿3⥊1 erroring 2025-05-22 23:45:37 +03:00
dzaima
e4a8e6ed05 more tests of things comparing NaNs 2025-05-22 04:29:12 +03:00
dzaima
5915841307 a couple more structural compatibility tests 2025-05-22 03:52:24 +03:00
dzaima
81ce43e77f complete comment 2025-05-22 02:28:50 +03:00
dzaima
36ba160477 fix 𝕨/𝕩 doing unchecked multiplications on +´𝕨
both that explicit one, and ones in the allocation functions
2025-05-22 01:45:56 +03:00
dzaima
3b5497e329 fix use-after-free in a⌾(i⊸/)𝕩
not actually ever problematic I believe as `w` in *_ucw always happens to have other held references, but still a bug and could become problematic in the future;
and the change is actually an improvement, bringing the SGetU computation out of paths that don't need it!
2025-05-22 01:18:04 +03:00
dzaima
04d0191d1f handle v¨⌾(l⊸/)x with non-boolean l with fast path 2025-05-22 01:14:09 +03:00
dzaima
a0787f4794 some more tests 2025-05-22 00:42:46 +03:00
dzaima
185a18d478 fix a⌾(b⊸/)x comparing during noAlloc 2025-05-22 00:38:47 +03:00
dzaima
0587e065f5
Merge pull request #139 from vylsaz/develop
Windows Minor Fix
2025-05-21 17:41:20 +03:00
vylsaz
7cdbe866da Windows: use CRT-safe _beginthreadex() rather than CreateThread(); also remove unnecessary NULL check for realloc() 2025-05-21 05:05:14 +00:00
dzaima
15bf932757 make atom decomposition equality check use eequal
gets rid of compound functions having observable identity if they have NaN as a component
2025-05-21 00:54:52 +03:00
dzaima
723ca38816 make native ⌾(is⊸⊏) & ⌾(m⊸/) compare NaNs as equal 2025-05-21 00:36:08 +03:00
dzaima
d67e587acf update bytecode submodule
big change is the compatibility check of ⌾ now considering NaNs as equal, but CBQNs native implementations of primitives are yet to be changed to match
2025-05-21 00:35:11 +03:00
dzaima
28f5896350 some more tests of NaN⌾(a⊸/) & NaN⌾(a⊸⊏) 2025-05-21 00:33:50 +03:00
dzaima
a37166975c update replxx submodule 2025-05-20 02:18:11 +03:00
dzaima
8046f157bf fix •file.Type and •file.Exists on links 2025-05-19 23:51:13 +03:00
dzaima
1ab511f657 fix JIT not allocating stack capacity for empty arrays 2025-05-16 02:09:04 +03:00
dzaima
c17280d96d cleanup 2025-05-15 00:43:53 +03:00
dzaima
87089515d5 test for flag-based squeeze 2025-05-13 17:04:38 +03:00
dzaima
b9ccafcf3f any_squeeze → squeeze_any 2025-05-13 17:04:38 +03:00
dzaima
f1cb141f56 new squeeze functions 2025-05-13 17:04:38 +03:00
dzaima
9d11fc0cde use C1 & C2 helpers in grade.h
incl. making them capable of expanding a macro F
2025-05-13 17:04:38 +03:00
dzaima
0c424df8b7 a couple more fill tests 2025-05-13 17:04:38 +03:00
dzaima
ff406c9586 better int_squeeze_sorted 2025-05-13 17:04:38 +03:00
dzaima
8146040c15 helpers for creating empty arrays 2025-05-13 17:04:32 +03:00