At Wed, 10 Aug 2005 20:37:21 -0500, Alex Shinn wrote: > > (define (power base e) ; like expt but e must be an integer
Might as well go all the way. Attached is a patch to numbers-base.scm which modifies the above power function to work on any real numbers and defines the default expt case in terms of that. It's not the fastest implementation but it's probably better to be correct first then optimize later. -- Alex
numbers-base.scm.diff
Description: Binary data
_______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users