Re: acosh, getting consistent results from GSL and Guile

2006-08-20 Thread Kevin Ryde
Daniel Llorens del Río <[EMAIL PROTECTED]> writes: > > Myself, I'd be happy if only things like this didn't happen: > > guile> (tanh 1e3+i) > +nan.0 Perhaps the libc ctanh() etc could be used when available ... let somebody else worry about overflows.

Re: acosh, getting consistent results from GSL and Guile

2006-08-18 Thread Daniel Llorens del Río
On 18 Aug, 2006, at 18:07, [EMAIL PROTECTED] wrote: Browsing Wikipedia for acosh formulas it seems to me that GSL is using an equivalent of: (log (- x (sqrt (- (* x x) 1 while the others are using an equivalent of: (log (+ x (sqrt (- (* x x) 1 I'm interested in having equal r

Re: acosh, getting consistent results from GSL and Guile

2006-08-18 Thread Neil Jerram
"Marco Maggi" <[EMAIL PROTECTED]> writes: > Ciao, > > on the GNU Scientific Library mailing list I asked the > following: > >>for some values of the operand I get different >>results from 'acosh' when using GSL (1.8), Guile (1.8) >>and GNU Octave (2.1.63). Other functions give me >>differ

acosh, getting consistent results from GSL and Guile

2006-08-17 Thread Marco Maggi
Ciao, on the GNU Scientific Library mailing list I asked the following: >for some values of the operand I get different >results from 'acosh' when using GSL (1.8), Guile (1.8) >and GNU Octave (2.1.63). Other functions give me >different results, too. [...] > >Browsing Wikipedia for acosh