[Top][All Lists]

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

Re: [Help-gsl] Double vs Long Double

From: Brian Gough
Subject: Re: [Help-gsl] Double vs Long Double
Date: Thu, 04 Oct 2007 19:53:39 +0100
User-agent: Wanderlust/2.14.0 (Africa) Emacs/22.1 Mule/5.0 (SAKAKI)

At Tue, 2 Oct 2007 12:09:00 +0000 (GMT),
dave wrote:
> I tried computing J0(5) using the Bessel function in the gnu math
> library and I got the exact result listed in the book. So I'm wondering
> if the difference in the final 3 digits is the result of using double 
> (64-bit xmm registers vs long double (80-bit temp real in  8087 registers).

You can use the GSL_IEEE_MODE=double-precision setting (described in
the IEEE Chapter of the manual) to turn off the 80-bit mode and see if
it makes a difference.

Brian Gough
(GSL Maintainer)

Network Theory Ltd,
Publishing the GSL Manual -

reply via email to

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