Bill Schottstaedt <[EMAIL PROTECTED]> writes: > > > (expt 2 (log 0)) > > gets into an infinite loop.
No, not infinite, it's calculating 2^(2^1024), you just have to be patient, and have a lot of ram :-). Thanks. I fixed integer-expt to reject an exponent +/-inf. It got there because (integer? -inf.0) => #t, which seems pretty wrong to me, so I changed that to #f. That expt now goes to pow(), giving 0. _______________________________________________ Bug-guile mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/bug-guile