This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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, fortran] PR24518 and PR24520 - Improvements to MOD andDOT_PRODUCT


Tobi,

I'm wondering, why are you promoting the arguments in to double precision in
your mod implementation? This will introduce double rounding problems (which
I'm not too worried about, as Fortran is only guaranteeing an approximation to
the mathematical value) and cut off precision in the REAL*10 or REAL*16 case.


To increase the range for which an answer is obtained.

I'm also wondering, why you are unconditionally using the library version of
DOT_PROD for kinds > 8.


Uh! I put that in as a backstop because I was not in a position to test the higher precision. I meant to ask that somebody do it for me by raising the condition. I totally forgot about it.

Can somebody do the real*16 test for me, please? I'll check out real*10.

Thanks

Paul


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