At Wed, 12 Oct 2005 14:35:29 +0900, Daishi Kato wrote: > > It's probably better to check the result of %FIX-EXPT once before > > entering the loop rather than on every iteration, since if it fails > > once it will always fail. > > I see what you mean, but my original thought was > to even speed up bignum-expt by checking fix-expt every loop. > It really depends on how fast fix-expt is. > There should be other solutions such as writing expt in C, > but for now, I would suggest to check fix-expt out of the loop, > as Alex suggested. > Would it be possible to combine %power and %fix-power in this way?
Alex, Attached my patch proposal. How would you think? Daishi
numbers-base.scm.patch3
Description: Binary data
_______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users