(j3.2006) IEEE comparisons

Bill Long longb
Tue Aug 16 08:33:40 EDT 2016


On Aug 16, 2016, at 1:08 AM, Robert Corbett <robert.corbett at oracle.com> wrote:

> I found one of the issues addressed in the errata for
> IEEE Std. 745:2008 amusing.  Suppose a program includes an
> edit descriptor for producing one decimal digit under an
> E format.  What value should be printed for the internal
> value 95.0 under the round-to-nearest-even rounding mode?


I would expect 0.1E+03

Cheers,
Bill


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





More information about the J3 mailing list