[Openmcl-devel] Wrong value of complex cosine

Waldek Hebisch hebisch at math.uni.wroc.pl
Tue Jul 29 16:28:58 UTC 2008

R. Matthew Emerson wrote:
> On Jul 26, 2008, at 9:19 AM, Waldek Hebisch wrote:
> > In FriCAS I need to use Lisp cosine function for complex
> > arguments.  But unfortunatly formula used by Closure CL 1.2-rc1
> > to comput imaginary part of the cosine is wrong: it has incorrect
> > sign (so, for example '(cos (complex 0.7 1.0))' gives wrong value).
> Thanks for the report.
> I just merged a fix for this into the 1.2 branch.  (It was fixed in  
> the trunk a couple of weeks ago.)
> To update your lisp, run "svn update" in your ccl directory.  Then  
> start up the lisp and evaluate (rebuild-ccl :full t).

Thanks, it works now. 

                              Waldek Hebisch
hebisch at math.uni.wroc.pl 

More information about the Openmcl-devel mailing list