(j3.2006) IEEE Exceptions Case Insensitive (Was:Signaling NaN)
Craig Dedo
craig
Fri Mar 11 12:55:12 EST 2011
Bill Long wrote:
> -----Original Message-----
> From: j3-bounces at j3-fortran.org [mailto:j3-bounces at j3-fortran.org] On Behalf Of
> Bill Long
> Sent: Friday, March 11, 2011 11:19
> To: fortran standards email list for J3
> Subject: Re: (j3.2006) Signaling NaN
>
> The standard does specify some of this, and other parts are "processor
> dependent".
>
<snip>
>
> Note that the standard (inconsistently) requires that on INPUT, the text
> is expected to be "NAN" and on output it is "NaN". We print NAN on
> output so is consistent with input expectations.
>
<snip>
>
> --
> Bill Long longb at cray.com
> Fortran Technical Support & voice: 651-605-9024
> Bioinformatics Software Development fax: 651-605-9142
> Cray Inc./Cray Plaza, Suite 210/380 Jackson St./St. Paul, MN 55101
>
>
> _______________________________________________
> J3 mailing list
> J3 at j3-fortran.org
> http://j3-fortran.org/mailman/listinfo/j3
Unfortunately, this statement is not completely correct. Bill overlooks one important paragraph in the Fortran 2008 standard, 10.7.2.3.2p2:
A lower-case letter is equivalent to the corresponding upper-case letter in an IEEE exceptional specification or the exponent in a numeric input field.
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
More information about the J3
mailing list