Re: [Patch, Fortran] PR57496 use finiteq etc. for __float in write_float.def

2013-06-03 Thread Tobias Burnus
Janne has approved the patch on IRC, hence, I committed it as Rev. 199598. Thus, the REAL(16) issue is now solved. However, REAL(10) still fails - and has still to be debugged. See PR. Tobias

Re: [Patch, Fortran] PR57496 use finiteq etc. for __float in write_float.def

2013-06-01 Thread Tobias Burnus
Regarding REAL(10): I tried to find out what goes wrong in that case, but I failed. I would really appreciate some help. See PR57496. My feeling is that the error is related to x87 FPU vs. CPU handling, but I failed to understand why and when it happens. Regarding REAL(16): Tobias Burnus w

[Patch, Fortran] PR57496 use finiteq etc. for __float in write_float.def

2013-06-01 Thread Tobias Burnus
Found when looking at the issue of the PR, but unrelated. For __float128, we have to use the libquadmath functions - not the "long double" ones. The patch is rather obvious, though I wonder whether it could clash with some #defines of the system headers on some systems. Build and regtested