|
From: | Thomas Chust |
Subject: | [Chicken-users] update: complex egg |
Date: | Wed, 06 Oct 2004 13:44:26 +0200 |
User-agent: | Mozilla Thunderbird 0.8 (X11/20040918) |
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)) cu, Thomas
[Prev in Thread] | Current Thread | [Next in Thread] |