This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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: regressions?


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


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