| Ruud H.G. van Tol on Sun, 01 Mar 2026 11:55:42 +0100 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| vecsum a Vecsmall |
vecsum() doesn't "transparently allow a t_VECSMALL" yet, or a List(), where for example vecsearch() and vecsort() do. As do vecmin(), vecmax(), but their docs don't mention it explicitly. Is vecsum() more limited on purpose? -- Greetings, Ruud BTW, not even that small. On 64-bit: ? Vecsmall([ -2^63+1, 2^63-1 ]) %1 = Vecsmall([-9223372036854775807, 9223372036854775807]) Potentially confusing: ? setisset(Vec([1,2,42])) %2 = 1 ? setisset(Vecsmall([1,2,42])) %3 = 0 (shouldn't that error?)