computing expontential as repeated multiplication for small integer exponent
Subject: computing expontential as repeated multiplication for small integer exponent
From: Robert Dodier
Date: Mon, 30 Jul 2007 08:32:57 -0600
On 7/30/07, Barton Willis <willisb at unk.edu> wrote:
> An alternative is to use the Russian peasant algorithm.
OK by me. I will try to merge in this code in the next day or so.
> Maybe we should use expt for all cases and allow some
> Maxima tests to fail for some versions of Lisp.
Well, I think the test suite has to pass equally well
(i.e. ignoring known errors) for all officially-supported Lisp
implementations; that's pretty much what I take officially-
supported to mean anyway.
best
Robert