Maxima interface to Lisp bit-functions



On Tue, Mar 18, 2008 at 1:21 PM, van Nek <van.nek at arcor.de> wrote:

> This is what I found in the doc of Mathematica:
> BitLength[n]
> gives the number of binary bits necessary to represent the integer n

>   * For negative n it is equivalent to BitLength[BitNot[n]].

This treatment of negative integers seems arbitrary.
I see nothing to recommend it, and we have nothing to gain by
copying Mathematica.

best

Robert Dodier