Re: [PATCH] PR fortran/66864 -- Use the right precision in FLOOR()

2015-07-14 Thread Janne Blomqvist
On Tue, Jul 14, 2015 at 10:20 PM, Steve Kargl wrote: > The attached patch fixes an issue in the constant > folding of FLOOR(). In the old code, the precision > of an temporary MPFR variable was set according to > the requested kind of the INTEGER result, ie., the > wrong precision. The patch set

[PATCH] PR fortran/66864 -- Use the right precision in FLOOR()

2015-07-14 Thread Steve Kargl
The attached patch fixes an issue in the constant folding of FLOOR(). In the old code, the precision of an temporary MPFR variable was set according to the requested kind of the INTEGER result, ie., the wrong precision. The patch sets the precision to the precision of the arg of FLOOR(). Regres