(j3.2006) IEEE comparisons

Robert Corbett robert.corbett
Tue Aug 16 21:23:15 EDT 2016


On 8/16/2016 5:33 AM, Bill Long wrote:
> 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

That is the answer given in the errata.

Bob Corbett



More information about the J3 mailing list