[Bug libfortran/28354] 0.99999 printed as 0. instead of 1. by format(f3.0)

2006-07-12 Thread fxcoudert at gcc dot gnu dot org


--- Comment #2 from fxcoudert at gcc dot gnu dot org  2006-07-12 15:21 
---
Confirmed, and not target-specific. I'll look into it.


-- 

fxcoudert at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||fxcoudert at gcc dot gnu dot
   ||org
 Status|UNCONFIRMED |NEW
  Component|fortran |libfortran
 Ever Confirmed|0   |1
   GCC host triplet|i686|
   Last reconfirmed|-00-00 00:00:00 |2006-07-12 15:21:52
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28354



[Bug libfortran/28354] 0.99999 printed as 0. instead of 1. by format(f3.0)

2006-08-21 Thread fxcoudert at gcc dot gnu dot org


--- Comment #3 from fxcoudert at gcc dot gnu dot org  2006-08-21 11:26 
---
OK, right, I don't have time to fix this. I've looked at the rounding code, and
carry propagation, and I think we'd need a new special case to handle that, but
couldn't find a way to do it that doesn't break other cases.

Jerry, Thomas, could you look into this? I find it has a pretty high annoyance
factor, we're outputing wrong numbers.


-- 

fxcoudert at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||jvdelisle at verizon dot net
   Severity|normal  |major
   Last reconfirmed|2006-07-12 15:21:52 |2006-08-21 11:26:32
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28354



[Bug libfortran/28354] 0.99999 printed as 0. instead of 1. by format(f3.0)

2006-08-21 Thread jvdelisle at gcc dot gnu dot org


--- Comment #4 from jvdelisle at gcc dot gnu dot org  2006-08-22 00:25 
---
I will take this on,


-- 

jvdelisle at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |jvdelisle at gcc dot gnu dot
   |dot org |org
 Status|NEW |ASSIGNED
   Last reconfirmed|2006-08-21 11:26:32 |2006-08-22 00:25:42
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28354



[Bug libfortran/28354] 0.99999 printed as 0. instead of 1. by format(f3.0)

2006-08-27 Thread jvdelisle at gcc dot gnu dot org


--- Comment #5 from jvdelisle at gcc dot gnu dot org  2006-08-28 05:14 
---
Subject: Bug 28354

Author: jvdelisle
Date: Mon Aug 28 05:14:05 2006
New Revision: 116502

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116502
Log:
2006-08-27  Jerry DeLisle  <[EMAIL PROTECTED]>

PR libgfortran/28354
* io/write.c: Check for special case of zero precision in format
and pre-round the real value.

Modified:
trunk/libgfortran/ChangeLog
trunk/libgfortran/io/write.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28354



[Bug libfortran/28354] 0.99999 printed as 0. instead of 1. by format(f3.0)

2006-08-27 Thread jvdelisle at gcc dot gnu dot org


--- Comment #6 from jvdelisle at gcc dot gnu dot org  2006-08-28 05:17 
---
Subject: Bug 28354

Author: jvdelisle
Date: Mon Aug 28 05:17:09 2006
New Revision: 116503

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116503
Log:
2006-08-27  Jerry DeLisle  <[EMAIL PROTECTED]>

PR libgfortran/28354
* gfortran.dg/fmt_zero_precision.f90: New test.

Added:
trunk/gcc/testsuite/gfortran.dg/fmt_zero_precision.f90
Modified:
trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28354