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

[no subject]

There are some inconsistencies in "//$" and "QUOTIENT" in the one-argument case.

(QUOTIENT 0.0) => 0.0
(//$ 0.0)      => 1.0

Actually, the LISPM behaves the same way with respect to QUOTIENT of one argument,
its the identity function rather than the multiplicative inverse function,
not that it makes any sense at all either way of course. 

This showed up as a subtle bug in the Macsyma->lisp translator,
where the declaration of the modes of variables discontinuously changed
the behavior of the arithmetic. I guess thats what happens when
try and build on lisp and be too cute at the same time.