[Top][All Lists]

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

Re: [Help-gsl] GSL and MPFR

From: Allin Cottrell
Subject: Re: [Help-gsl] GSL and MPFR
Date: Wed, 21 Jan 2009 16:47:46 -0500 (EST)

On Wed, 21 Jan 2009, Brian Gough wrote:

> At Wed, 21 Jan 2009 21:45:41 +0100,
> Paul Zimmermann wrote:
> > why do you think it would be a major rewrite? What I had in mind was an
> > optional option of configure, say --with-mpfr=..., for users who prefer
> > accuracy and portability to speed.
> Can you give me an example of how that would work?  I was assuming
> that using the mpfr_t type was a signicant change from using doubles.

Brian is right.  It's all very well putting "--with-mpfr" into the
configure script, the trick is actually doing something in
response!  That requires working with the mpfr_t type, not
regular C doubles.  Every piece of arithmetic has to be
re-written; you can't use the ordinary C math operators with
mpfr_t, nor any ordinary C math functions.

Allin Cottrell
Department of Economics
Wake Forest University

reply via email to

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