Stalled Patches
Feng Wang
wf_cs@yahoo.com
Mon Apr 5 14:30:00 GMT 2004
--- Paul Brook <paul@codesourcery.com> µÃÃýÃãº> On Friday 02 April 2004
12:51, Joost VandeVondele wrote:
> > It has nothing to do with the accuracy of the math libraries, the question
> > is if the constant needs to be converted to real*4 before
> > assignment in
> >
> > real*8 x=1.7
> >
> > as done in most compilers, or if it is OK to assign the real*8
> > approximation.
>
Right. I once added the conversion to gfortran and got the same result with
those commercial compilers.
> Ah, I see. I think the GMP->tree conversion is the wrong place to be doing
> this, so the patch is still ok.
>
> The frontend doesn't accurately model the target floating point arithmetic,
> so
> there are probably other places where we may have excess precision or
> incorrect rounding.
I think this is one of reasons causing gfortran not to pass SPEC2K 200.
Feng Wang
_________________________________________________________
Do You Yahoo!?
»ÃÃÃTTÃÃ÷¾ç£¬ÃæÃÃ÷£¬Ãô󽱣¡
http://cn.rd.yahoo.com/mail_cn/tag/*http://hp.allyes.com/laserjet/gamestory/index.html?jumpid=ex_hphqapcn_MongooseLJ1010/201073CN407016/Yahoo
More information about the Fortran
mailing list