[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

*To*: Common-Lisp@sail.stanford.EDU*Subject*: Logical Operations on Numbers*From*: ELIOT@cs.umass.EDU*Date*: Thu, 19 Jan 89 12:53 EST

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

- Prev by Date:
**Logical Operations on Numbers** - Next by Date:
**LOGICAL OPERATIONS ON NUMBERS** - Previous by thread:
**Logical Operations on Numbers** - Next by thread:
**LOGICAL OPERATIONS ON NUMBERS** - Index(es):