%i and (complex 0 1)



>>>>> "Dan" == Dan Stanger <dan.stanger@ieee.org> writes:

    Dan> Stavros Macrakis wrote:
    >> There are some other surprising things that would have to be done.
    >> Is numberp(%i) true?

    Dan> Testing shows that it is not.  Does anyone know the reason for this?

My totally uninformed guess would be that numberp was written when
maxima only supported real numbers.  Complex numbers were added later,
and numberp wasn't changed.

But I'm just speculating.

Ray