Commit Graph

91 Commits

Author SHA1 Message Date
dzaima
339bc8ced6 use Ryu for number formatting for %f 2025-07-25 11:21:06 +03:00
dzaima
ca9d76c9a6 update usz=32 expected test error messages 2025-07-25 11:18:47 +03:00
dzaima
7cf17cdad6 native depth2⊏𝕩 2025-07-04 21:01:17 +03:00
dzaima
3a8d0be5a4 error tests for selecting from an empty array 2025-07-02 00:01:20 +03:00
dzaima
2447eb25cf semantically squeeze F⌜ result 2025-06-08 18:55:38 +03:00
dzaima
286067ad51 some F⌜ shape management refactoring
avoids having two arr_shAlloc invocations, and also makes ⊢⌜ direct
2025-06-08 18:35:57 +03:00
dzaima
c90674313b reduce reshape+replicate-based Arith⌜ constant overhead 2025-06-08 18:10:01 +03:00
dzaima
9a2ecada1e fix seed=u 2025-05-31 19:53:48 +03:00
dzaima
88f2eb6b87 fast ↕list when (64≥≠list) ∧ ∧´list∊1‿2, typed result otherwise 2025-05-31 19:41:03 +03:00
dzaima
5c2ac27410 modernize tests
also remove leftover tests that don't pass with EACH_FILLS
2025-05-30 01:52:31 +03:00
dzaima
d0ab742313 extract 1≥≠𝕨 case of 𝕨⥊𝕩
temporarily calling back into shape_c2 when necessary
2025-05-29 23:25:14 +03:00
dzaima
056cfd8367 extract m_barrp_fill, make m_arrp_fill actually set fill
conditions were the wrong way around :|
2025-05-29 23:25:14 +03:00
dzaima
541e5a805e 𝕨⥊𝕩 implementation refactoring & testing 2025-05-29 22:36:38 +03:00
dzaima
879a3e2007 fix 𝕨⥊𝕩 integer overflow 2025-05-28 06:41:49 +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
c4685bcc0c fix insert_scal fill issues 2025-05-26 04:28:35 +03:00
dzaima
923f15fcca use eqerr+evar in another error message test 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
e4a8e6ed05 more tests of things comparing NaNs 2025-05-22 04:29:12 +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
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
c17280d96d cleanup 2025-05-15 00:43:53 +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
b2259d77c1 some tests for bad squeeze attempts 2025-05-11 20:27:36 +03:00
dzaima
1ecc6b3918 more proper error message for 1⌾((<⋈0)⊸⊑)↕5 2025-05-05 19:37:02 +03:00
dzaima
4e03a6310c fix proper-fills-only error message 2025-03-21 23:35:38 +02:00
dzaima
62b095be89 oneElt⊏𝕩 improvements & fixes 2025-03-12 06:29:26 +02:00
dzaima
bfce527096 fix 𝕗⌾(-2⋆63)𝕩 2025-03-12 03:01:11 +02:00
dzaima
bcf32838f4 some more ˝ tests, use COPY_TO
not much of a difference, but prettier
2025-03-11 00:15:45 +02:00
dzaima
26cd40dfd3 tests for single-element-cell scans 2025-03-04 20:16:13 +02:00
dzaima
bdf9a52625 more proper error messages for /⁼𝕩 2025-03-02 19:50:01 +02:00
dzaima
9826c4ce0e add 𝕨/𝕩 in dyadic ⌽/⌽⁼ error message 2025-03-02 19:29:49 +02:00
dzaima
e3a4132722 clean up error messages
incl. correcting •_timed's message being wrong
2025-02-06 12:32:19 +02:00
tankorsmash
308f93368e ran test error message updater 2025-02-05 20:05:03 -05:00
dzaima
d506691690 fix 𝕨⍋𝕩 issues around NaNs 2025-02-01 20:55:36 +02:00
dzaima
dcbceccff8 fix integer wrapping in grade sum check 2025-01-24 03:49:25 +02:00
dzaima
b72fe465a2 fix /⁼1e4⥊1‿2 on NEON 2024-11-14 22:45:43 +02:00
dzaima
cbac419b4a fix ⍷2‿0⥊x 2024-11-06 22:34:55 +02:00
dzaima
503bddced5 bring back atomEqualF fast path 2024-10-10 04:00:43 +03:00
dzaima
82bf0d301c more comparison tests 2024-10-10 03:46:47 +03:00
dzaima
5a6f3fd978 move comparison test section to beside total array comparison 2024-10-10 03:46:47 +03:00
dzaima
398f541cec make tests handle usz=64 differences 2024-10-10 01:33:17 +03:00
dzaima
1b1cda8a90 get tests to pass with PROPER_FILLS 2024-10-09 02:42:17 +03:00
dzaima
36e8ad59f7 repeated sort tests 2024-10-09 02:42:17 +03:00
dzaima
183f64c1f9 make ⟨⟩≡∾⟨⟩ under PROPER_FILLS 2024-10-09 02:42:17 +03:00
dzaima
b94ba4ed56 proper refcount=1 𝔽¨ test 2024-10-09 02:42:17 +03:00