[Openmcl-devel] Wrong value of complex cosine

R. Matthew Emerson rme at clozure.com
Sat Jul 26 16:46:54 UTC 2008

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).

More information about the Openmcl-devel mailing list