gcl-devel
[Top][All Lists]
Advanced

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

[Gcl-devel] Re: gcl: acosh issues


From: Camm Maguire
Subject: [Gcl-devel] Re: gcl: acosh issues
Date: 15 Oct 2002 23:47:29 -0400

Greetings!

"Stavros Macrakis" <address@hidden> writes:

> The system acosh does not agree on branch choice with the Maxima acosh
> for some arguments.  I don't know if anyone cares or which is better....
> 
>  (lisp::acosh -2) =>  1.3169578969248168 + 3.1415926535897931 i
>  (acosh -2)       => -1.3169578969248164 + 3.1415926535897931 i
> 
> gcl is following the Common Lisp definition here.
> 

OK, as you state, I think gcl is right here.

> There is also a bug in the system acosh:
> 
>  (lisp::acosh -1.0) => Zero divisor (should be i pi)
> 

Just committed a fix for this into cvs.  Thanks!

> Nearby values do just fine.
> 
> Macsyma gets this one right.
> 
> 
> 

-- 
Camm Maguire                                            address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah




reply via email to

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