|
From: | Felix Winkelmann |
Subject: | Re: [Chicken-users] update: complex egg |
Date: | Mon, 11 Oct 2004 08:45:30 +0200 |
User-agent: | Mozilla Thunderbird 0.5 (X11/20040208) |
Thomas Chust wrote:
Hello,I have corrected the complex egg to accept negative inputs to the log and expt functions and return complex results. The new source can be downloaded at http://www.chust.org/projects/complex.scm.The difference is not big, though: 471c471 < (if (real? n) --- > (if (and (real? n) (>= n 0)) 515c515 < (if (and (real? a) (real? b)) --- > (if (and (real? a) (real? b) (>= a 0))
Thanks. I'll update the egg accordingly. cheers, felix
[Prev in Thread] | Current Thread | [Next in Thread] |