Commit Graph

323 Commits

Author SHA1 Message Date
dzaima
879a3e2007 fix 𝕨⥊𝕩 integer overflow 2025-05-28 06:41:49 +03:00
dzaima
ac2f1e276c test 𝕗⌾(is⊸⊏)charmat 2025-05-28 03:23:23 +03:00
dzaima
e2c12d0ade avoid needing to mutate LV for eqvar tests 2025-05-28 00:46:04 +03:00
dzaima
46c2578c73 •internal.Indistinguishable-based _eqvar 2025-05-28 00:25:27 +03:00
dzaima
c866309707 fix fill of bitarr⊏𝕩 when 𝕩 has no fill and starts with elements that can construct a typed array 2025-05-27 21:59:07 +03:00
dzaima
b49d4bcd86 move 𝔽⌾(a⊸/)𝕩 impl to toEltypeArrX
testing will come later with •internal.Indistinguishable _eqvar (fill changed)
2025-05-27 01:39:20 +03:00
dzaima
c4685bcc0c fix insert_scal fill issues 2025-05-26 04:28:35 +03:00
dzaima
cbc1ef397b fix •internal.ListVariations on a fillarr of floats 2025-05-26 04:17:29 +03:00
dzaima
923f15fcca use eqerr+evar in another error message test 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
7dc5aa9090 more complete DirectArr thing, use for 𝔽⌾(f64arr⊸⊏) 2025-05-26 01:53:44 +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
1c20f3eac5 fix memory leak in 𝔽⌾(is⊸⊏) highRank 2025-05-23 21:01:58 +03:00
dzaima
398d387c22 fix arr⌾(is⊸⊏) highrank range check 2025-05-23 20:08:26 +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
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
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
a0787f4794 some more tests 2025-05-22 00:42:46 +03: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
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
0c424df8b7 a couple more fill tests 2025-05-13 17:04:38 +03:00
dzaima
6c4eae5e28 rearrange squeeze.c and make num_squeeze & chr_squeeze more sane 2025-05-13 03:32:32 +03:00
dzaima
62366d10fa •internal.Validate 2025-05-13 00:12:59 +03:00
dzaima
41c9a51ff3 fix unshare on heap-allocated atoms 2025-05-11 20:28:23 +03:00
dzaima
b2259d77c1 some tests for bad squeeze attempts 2025-05-11 20:27:36 +03:00
dzaima
516205321c fix error message of 𝔽⌾(a⊸⊏)𝕩 more 2025-05-09 01:17:51 +03:00
dzaima
f74bdf6142 improve/fix error messages around units in ⊏ & ⊑ some more 2025-05-09 01:00:41 +03:00
dzaima
8d757363e9 improve error message of 𝔽 in 𝔽⌾(a⊸⊏) returning an atom 2025-05-09 00:32:54 +03:00
dzaima
d2c27fd880 fast 𝔽⌾(num⊸⊏)arr 2025-05-09 00:21:42 +03:00
dzaima
07f9b640e9 test for •ReBQN not dropping fills 2025-05-05 20:31:29 +03:00
dzaima
1ecc6b3918 more proper error message for 1⌾((<⋈0)⊸⊑)↕5 2025-05-05 19:37:02 +03:00
dzaima
13906efe44 fix ⊑˘ on rank>2 inputs 2025-05-02 01:28:46 +03:00
dzaima
e32d41eb61 improve •ParseFloat error message on argument with codepoints ≥256 2025-05-01 23:09:48 +03:00
dzaima
0ae0be135c bump for_build binary
has been over a year
2025-05-01 22:53:45 +03:00
dzaima
4e03a6310c fix proper-fills-only error message 2025-03-21 23:35:38 +02:00
dzaima
9a45762ecd more groupstat tests
test change counter for i8 better, and make sure empty input functions as required
2025-03-21 06:01:55 +02:00
dzaima
82ebd37b3f group statistics test 2025-03-13 23:36:02 +02:00
dzaima
72c4eca6c0 fix float ⌾(l⊸⊏) doing wrong comparisons 2025-03-12 17:23:17 +02:00