This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: regressions?
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: Dominique Dhumieres <dominiq at lps dot ens dot fr>
- Cc: fortran at gcc dot gnu dot org
- Date: Wed, 4 Oct 2006 13:42:48 -0700
- Subject: Re: regressions?
- References: <20061004203227.239125BBAC@mailhost.lps.ens.fr>
On Wed, Oct 04, 2006 at 10:32:27PM +0200, Dominique Dhumieres wrote:
> Steve,
>
> With your patch I get for the following code:
>
> program gfcbug36
> implicit none
> real, parameter :: one = 1.0
> real :: a = one
>
> print *, fraction(1.0), exponent(1.0), scale(fraction(1.0), exponent(1.0))
> print *, fraction(a), exponent(a), scale(fraction(a), exponent(a))
>
> end program gfcbug36
>
> 0.5000000 1 1.000000
> 0.000000 0 0.000000
>
> Any idea?
>
Hmmm, you do have mpfr 2.2.0, right? Check the mpfr.h
file for version info.
troutmask:sgk[207] ./z
0.5000000 1 1.000000
0.5000000 1 1.000000
--
Steve