[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gsl] Failure in make check after compile of V1.7 with mingw
From: |
Brian Gough |
Subject: |
Re: [Bug-gsl] Failure in make check after compile of V1.7 with mingw |
Date: |
Fri, 17 Feb 2006 16:59:36 +0000 |
Chris Rodie writes:
> I have found a solution to the problem: I added "-ffloat-store" to the
> CFLAGS declaration in the Makefile in the monte directory. After
> recompiling, the test suite ran with no errors. Now the whole library
> appears to test OK on this platform (pc-686-mingw). It appears we're
> dealing with a difference in precion of values in fpu registers vs.
> values in values (see GNU docs on this gcc switch). The problem appears
> only in this monte carlo algorithm, nowhere else in the library.
I don't know what default the Mingw people are using for their runtime
but if it's extended I would set the processor floating point mode to
double-precision and run the same code to see if it is that is the
cause, -ffloat-store will change the way it is optimised so it may
just mask the problem.
--
Brian Gough
Network Theory Ltd,
Publishing Free Software Manuals --- http://www.network-theory.co.uk/