This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [patch, libgfortran] Fix numerous formatting bugs


On 04/26/2011 09:09 PM, Jerry DeLisle wrote:
---snip---

1.234500019E-06 42846000000.000000 1.234500019E-06 42846000000.000000 1.23450002E-06 42846000000.000000

And without the patch:

1.23450002E-06 42846000000.000000
1.234500019E-06 42846000000.000000
1.23450002E-06 42846000000.000000

d is the number of digits after the decimal point, not the number of significant
digits.

For comaprison, ifort gives:

1.2345000E-06 42846000000.0000
1.234500019E-06 42846000000.000000
1.23450002E-06 42846000000.000000

Ifort chooses to use d=7 for list directed.

With that being said, I do think there is possibly a different bug not related
to the above that I am working on isolating it. Stay tuned.

Jerry

Ooops! I fooled my self. I made a slight mod while testing above and thought I had a bug. Now putting it back all is well. I am back to the original posted patch awaiting approval.

Jerry


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