Commit Graph

360 Commits

Author SHA1 Message Date
dzaima
ede87b4800 fix •bit._neg & •bit._not reuse check 2025-06-13 02:29:30 +03:00
dzaima
ce48dd1bca clear flags on •bit._neg & •bit._not reuse 2025-06-13 02:21:25 +03:00
dzaima
2160f4001d clear flags on •bit._cast reuse 2025-06-13 01:00:11 +03:00
dzaima
53f331112f don't have weird "𝕨˘𝕩" in error messages 2025-06-11 17:24:45 +03:00
dzaima
2a853dbfcd cleanup 2025-06-11 00:47:11 +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
11da303f4c final test cleanup 2025-06-07 20:06:15 +03:00
dzaima
7db91b9785 modernize imports test 2025-06-01 17:42:22 +03:00
dzaima
2918436b08 make test/run lint not complain on lines with _eqvar 2025-06-01 07:08:59 +03:00
dzaima
2f18d6d72d drop "test/cases/" prefix from test/run.bqn args if present
allows autocompleting
2025-06-01 07:07:18 +03:00
dzaima
2f18c0546f split up & move test/various.bqn to test/run.bqn system 2025-06-01 07:03:24 +03:00
dzaima
a987efea5b move test/hashmap.bqn to test/run.bqn system 2025-06-01 07:03:24 +03:00
dzaima
405d0ee0e1 move test/random.bqn to test/run.bqn system 2025-06-01 07:03:24 +03:00
dzaima
01fea8904d move test/mut.bqn to test/run.bqn system 2025-06-01 07:03:19 +03:00
dzaima
6812185e06 move test/copy.bqn to test/run.bqn system 2025-06-01 06:08:58 +03:00
dzaima
3da8a8931b move test/cmp.bqn to test/run.bqn system 2025-06-01 06:07:50 +03:00
dzaima
6a5ce4c11b move test/equal.bqn to test/run.bqn system 2025-06-01 06:07:44 +03:00
dzaima
315d8681d1 move test/bit.bqn to test/run.bqn system 2025-06-01 06:06:50 +03:00
dzaima
2da4422434 move test/hash.bqn to test/run.bqn system 2025-06-01 06:06:50 +03:00
dzaima
b049fe196d move test/squeezeValid.bqn & test/squeezeExact.bqn to test/run.bqn system 2025-06-01 06:06:25 +03:00
dzaima
a57afad9d7 move test/bitcpy.bqn to test/run.bqn system 2025-06-01 06:05:34 +03:00
dzaima
c67afd6e52 add a way to allow ⎊-ful tests to run in noerr mode 2025-06-01 05:55:55 +03:00
dzaima
5d7caab374 add a way to define whole-file tests with test/run.bqn 2025-06-01 05:40:14 +03:00
dzaima
7d55317ec4 add a way to get a seeded random source from test/run.bqn 2025-06-01 05:40:14 +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
624c74058c improve pure function detection 2025-05-30 02:17:40 +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
4e0957f668 clarify message on failing to compute expected result 2025-05-29 02:47:42 +03:00
dzaima
1a2cba2305 fix eqvar fail report 2025-05-29 02:47:39 +03:00
dzaima
860594ae48 expose RANDOMIZE_HEURISTICS config in •internal.Temp 2025-05-28 07:49:41 +03:00
dzaima
59923b25df refactor •internal.Temp 2025-05-28 06:55:53 +03:00
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