chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Bug in the numbers egg?


From: felix winkelmann
Subject: Re: [Chicken-users] Bug in the numbers egg?
Date: Fri, 12 Aug 2005 08:25:21 +0200

On 8/11/05, Alex Shinn <address@hidden> wrote:
> 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.
> 

Thanks a lot. Will be incorporated.


cheers,
felix




reply via email to

[Prev in Thread] Current Thread [Next in Thread]