[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Logical Operations on Numbers
Rather than duplicating the subset operations on both numbers and bitvectors
why not make the generic arithmetic routines accept bitvectors as non-negative
integers? The generic arithmetic routines already handle so many types
that one more can't make a big difference. Many numeric routines make
sense and extend the functionality if they could be applied to bitvector
For example, ZEROP (null set), =, /=, logXXX, boole,lognot, logtest,
logcount, integer-length.
However, bitvectors have never been very useful to me because of the
restriction that the bit-XXX operations can only work on arrays
of the same DIMENSIONS. If this were relaxed and the smaller array was
treated as being extended with zeros I think they would be much more useful.
Chris Eliot