Dirk Herrmann <[EMAIL PROTECTED]> writes:
> -> exponent is a negative integer --> result could be a rational if those
> were supported. This could be handled nicely:
>
> cond ((and (integer? z2) (< z2 0)) (/ 1 (integer-expt z1 (- z2))))
>
> Shall I add this special case to expt?
Yes. It doesn't make much sense now, but can serve as a reminder.
(Actually, it *does* make sense for those trying to plug in a rational
module via GOOPS.)
> -> exponent is a negative rational --> result will be a real, except for
> the rare cases that the square root (or whatever root) can be solved
> exactly. I don't know how to handle this nicely.
I don't think we should care too much about this one.
Best,
/mdj