[Bug libfortran/48651] DTOA float conversion issue

2011-04-17 Thread jvdelisle at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48651 Jerry DeLisle changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug libfortran/48651] DTOA float conversion issue

2011-04-17 Thread kargl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48651 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org --- Co

[Bug libfortran/48651] DTOA float conversion issue

2011-04-17 Thread jvdelisle at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48651 --- Comment #4 from Jerry DeLisle 2011-04-17 19:03:00 UTC --- OK Format string needs capital 'L' for long double. $ cat sprint.c #include int main () { long double ldnum; ldnum = 25.6; printf("%30.24Lf, %d\n", ldnum, sizeof(ldnum)); } $

[Bug libfortran/48651] DTOA float conversion issue

2011-04-17 Thread thenlich at users dot sourceforge.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48651 --- Comment #3 from Thomas Henlich 2011-04-17 18:34:15 UTC --- (In reply to comment #2) > hmm, notice the typo! i have set ldnum to 0.0 but it still is printing the > value of dnum. What am I doing wrong. > > $ cat sprint.c > #include > > int

[Bug libfortran/48651] DTOA float conversion issue

2011-04-17 Thread jvdelisle at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48651 --- Comment #2 from Jerry DeLisle 2011-04-17 18:28:55 UTC --- hmm, notice the typo! i have set ldnum to 0.0 but it still is printing the value of dnum. What am I doing wrong. $ cat sprint.c #include int main () { float num = 0.9; double d

[Bug libfortran/48651] DTOA float conversion issue

2011-04-17 Thread jvdelisle at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48651 Jerry DeLisle changed: What|Removed |Added CC||thenlich at users dot |