This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gfortran] use numerically safe algorithm for folding CABS


On Thu, 7 Oct 2004, [ISO-8859-1] Tobias Schlüter wrote:

> > Can't you use mpfr_hypot?
> 
> No, I can't because the version of mpfr distributed with GMP doesn't have it.
> One more reason to import mpfr into the GCC tree, I assume. I will add a
> comment pointing out that this code can be replaced when we import mpfr into
> the tree.

It looks to me to be in GMP 4.1, but I agree we should import (probably 
not in Stage 3) suitable versions of GMP and MPFR to avoid such questions 
(either you use the in-tree GMP and MPFR which are known to be OK, or you 
make sure you have sufficently recent (maybe very recent) versions if you 
want to use --with-system-gmp --with-system-mpfr).

-- 
Joseph S. Myers               http://www.srcf.ucam.org/~jsm28/gcc/
    jsm@polyomino.org.uk (personal mail)
    joseph@codesourcery.com (CodeSourcery mail)
    jsm28@gcc.gnu.org (Bugzilla assignments and CCs)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]