guile-devel
[Top][All Lists]
Advanced

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

Re: fix for expt bug


From: Ramakrishnan Muthukrishnan
Subject: Re: fix for expt bug
Date: Mon, 1 Nov 2010 23:53:46 +0530

I reworked the patch a bit as per Mark's comments. It takes care of
the sign part and handles integer power values properly. It also fixes
another bug with the current expt implementation where base is an
integer and the power value is not (eg: (expt 2 2.0) gives an error in
the current git master. The patch fixes this too.)

Also adds some test cases. Please review.

Thanks
Ramakrishnan

Attachment: expt-fix.patch
Description: Text Data


reply via email to

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