(j3.2006) Fortran Standard References for Editing IEEE Exceptions (Was: Signaling NaN)
Craig Dedo
craig
Fri Mar 11 13:12:21 EST 2011
Everyone:
Others have quoted the Fortran 2008 standard at length. However, they have not
yet provided references. Here are some, although this list is not necessarily complete.
Most of the rules about I/O of IEEE exceptional conditions are in section
10.7.2.3.2. This section covers I/O editing using the Fw.d edit descriptor for
fixed-field I/O of real (floating-point) values. Paragraph 2 provides for case
insensitivity. Paragraphs 5, 6, 7, and 8 provide the detailed rules.
If the edit descriptor is one of the exponential formats (Ew.d, Ew.dEe, or Dw.d),
section 10.7.2.3.3 paragraphs 2 and 3 provide that the editing is the same as for Fw.d
editing.
If the edit descriptor is the general format (Gw.d and Gw.dEe), section 10.7.5.2.2
paragraphs 1 and 3 provide that the editing is the same as for Fw.d editing.
Hope this helps.
Sincerely,
Craig T. Dedo
17130 W. Burleigh Place
P. O. Box 423???????????????????????? Mobile Phone:? (414) 412-5869
Brookfield, WI?? 53008-0423??? E-mail:? <craig at ctdedo.com>
USA
Linked-In:? http://www.linkedin.com/in/craigdedo
> -----Original Message-----
> From: j3-bounces at j3-fortran.org [mailto:j3-bounces at j3-fortran.org] On Behalf Of
> Fred J. Tydeman
> Sent: Friday, March 11, 2011 10:26
> To: j3 at j3-fortran.org
> Subject: (j3.2006) Signaling NaN
>
> Are there any Fortran implementations that support IEEE
> Signaling NaNs?
>
> If yes, what is printed for them? And how does that
> differ from what is printed for Quiet NaNs?
>
> The C committee is working on a Technical Report on
> adding support for IEEE-754-2008 to C. One of the
> items we are considering is Signaling NaNs. We would
> like to be consistent with any other work already done.
>
>
> ---
> Fred J. Tydeman Tydeman Consulting
> tydeman at tybor.com Testing, numerics, programming
> +1 (775) 358-9748 Vice-chair of PL22.11 (ANSI "C")
> Sample C99+FPCE tests: http://www.tybor.com
> Savers sleep well, investors eat well, spenders work forever.
>
> _______________________________________________
> J3 mailing list
> J3 at j3-fortran.org
> http://j3-fortran.org/mailman/listinfo/j3
More information about the J3
mailing list