[Bug libfortran/48511] Implement Steele-White algorithm for numeric output

2015-08-25 Thread fxcoudert at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48511 Francois-Xavier Coudert changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug libfortran/48511] Implement Steele-White algorithm for numeric output

2011-05-05 Thread thenlich at users dot sourceforge.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48511 --- Comment #13 from Thomas Henlich 2011-05-05 10:57:33 UTC --- G95 is actually using this method for list-directed output. print *, .3, .33, .333, ., .3, .33, .333 g95 => 0.3 0.33 0.333 0. 0.3 0.33 0.333 gfortra

[Bug libfortran/48511] Implement Steele-White algorithm for numeric output

2011-04-28 Thread jvdelisle at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48511 --- Comment #12 from Jerry DeLisle 2011-04-29 01:42:00 UTC --- Created attachment 24137 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24137 An implementation found via google Found this while searching around. My impression is that this is

[Bug libfortran/48511] Implement Steele-White algorithm for numeric output

2011-04-28 Thread thenlich at users dot sourceforge.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48511 --- Comment #11 from Thomas Henlich 2011-04-28 10:01:45 UTC --- (In reply to comment #10) > As an addendum to the above, one thing we could do with modest effort and > without importing Gay's code would be to remove trailing zeros for G0 (and > m

[Bug libfortran/48511] Implement Steele-White algorithm for numeric output

2011-04-28 Thread jb at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48511 --- Comment #10 from Janne Blomqvist 2011-04-28 09:30:10 UTC --- As an addendum to the above, one thing we could do with modest effort and without importing Gay's code would be to remove trailing zeros for G0 (and maybe list directed) output.

[Bug libfortran/48511] Implement Steele-White algorithm for numeric output

2011-04-27 Thread jb at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48511 --- Comment #9 from Janne Blomqvist 2011-04-27 18:36:12 UTC --- I've been thinking about this issue now and then over the past few weeks, and funnily enough, while I initially thought this would be a nice improvement, I've subsequently come to th

[Bug libfortran/48511] Implement Steele-White algorithm for numeric output

2011-04-27 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48511 --- Comment #8 from Tobias Burnus 2011-04-27 14:59:39 UTC --- (In reply to comment #7) > Gay's routines (http://www.netlib.org/fp/) can handle double, float, extended, > quad libquadmath initially used dtoa for __float128 [REAL(16)] I/O, but the

[Bug libfortran/48511] Implement Steele-White algorithm for numeric output

2011-04-27 Thread thenlich at users dot sourceforge.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48511 --- Comment #7 from Thomas Henlich 2011-04-27 14:11:10 UTC --- Gay's routines (http://www.netlib.org/fp/) can handle double, float, extended, quad; rounding directions may be specified. They can output a given number of digits (compatible to all

[Bug libfortran/48511] Implement Steele-White algorithm for numeric output

2011-04-10 Thread jb at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48511 --- Comment #6 from Janne Blomqvist 2011-04-10 12:24:54 UTC --- (In reply to comment #5) > (In reply to comment #4) > > (In reply to comment #3) > > > Does any of the Fortran edit descriptors require, or for that matter > > > allow, > > > this k

[Bug libfortran/48511] Implement Steele-White algorithm for numeric output

2011-04-10 Thread thenlich at users dot sourceforge.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48511 --- Comment #5 from Thomas Henlich 2011-04-10 10:19:47 UTC --- (In reply to comment #4) > (In reply to comment #3) > > Does any of the Fortran edit descriptors require, or for that matter allow, > > this kind of "shortest decimal representation"

[Bug libfortran/48511] Implement Steele-White algorithm for numeric output

2011-04-10 Thread jb at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48511 --- Comment #4 from Janne Blomqvist 2011-04-10 08:36:24 UTC --- (In reply to comment #3) > Does any of the Fortran edit descriptors require, or for that matter allow, > this kind of "shortest decimal representation" output? Well, the obvious(?)

[Bug libfortran/48511] Implement Steele-White algorithm for numeric output

2011-04-09 Thread jb at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48511 Janne Blomqvist changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libfortran/48511] Implement Steele-White algorithm for numeric output

2011-04-08 Thread jvdelisle at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48511 --- Comment #2 from Jerry DeLisle 2011-04-08 16:10:30 UTC --- See http://www.cs.indiana.edu/~burger/FP-Printing-PLDI96.pdf For improved method.

[Bug libfortran/48511] Implement Steele-White algorithm for numeric output

2011-04-08 Thread jvdelisle at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48511 --- Comment #1 from Jerry DeLisle 2011-04-08 15:57:55 UTC --- I have looked at this before and we have discussed it on the list. Ok to flag this as an enhancement. It would be worth investigating one kind (say kind=8) and run some timing tests