[J3] Question on TINY example

Mark LeAir mleair at nvidia.com
Wed Jun 22 21:53:17 UTC 2022

Hi Steve,

This can just be a regular paper?  It does not need to be an Interp, correct?



From: J3 <j3-bounces at mailman.j3-fortran.org> On Behalf Of Steve Lionel via J3
Sent: Wednesday, June 22, 2022 11:02 AM
To: j3 at mailman.j3-fortran.org
Cc: Steve Lionel <steve at stevelionel.com>
Subject: Re: [J3] Question on TINY example

External email: Use caution opening links or attachments

On 6/22/2022 1:40 PM, Mark LeAir via J3 wrote:
Another one of our compiler engineers pointed this out to me.  Do we agree this example needs fixing?

In F’2018, 16.9.191, the example has TINY(x) == 2**(-127) for default real.  I think that should be 2**(-126).

ifort and nagfor agree with you that the example is wrong. I'm skeptical of HUGE as well, as if I plug the example into those compilers, I get a result off by a factor of 2, but perhaps I missed something. A paper would be appreciated.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.j3-fortran.org/pipermail/j3/attachments/20220622/031567e9/attachment-0001.htm>

More information about the J3 mailing list