help-gsl
[Top][All Lists]
Advanced

[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: Tue, 09 Oct 2007 09:41:40 +0100
User-agent: Wanderlust/2.14.0 (Africa) Emacs/22.1 Mule/5.0 (SAKAKI)

At Fri, 5 Oct 2007 18:31:01 +0000 (GMT),
dave wrote:
> With xmm registers present in an x86, fp can be computed either using the NPX 
> math unit
> or else using the xmm registers. Would changing 'double' to 'DOUBLE' 
> everwhere in the GSL 
> source and then adding -DDOUBLE='long double' or -DDOUBLE='double' to the 
> CFLAGS work as a
> means of generating either a library that used NPX temp real mode or a 
> library using XMM
> double mode?

No, it's not that simple unfortunately.  Without support from the
compiler it's not possible to work with extended precision for every
operation.

-- 
Brian Gough

Network Theory Ltd,
Publishing Free Software Manuals --- http://www.network-theory.co.uk/




reply via email to

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