From: "glen herrmannsfeldt" <[email protected]>
Sent: Monday, 9 January 2012 11:31 AM


(snip, someone wrote)

o IBM hexadecimal floating-point, HFP,

o ANSI binary floating-point, BFP, and

o ANSI decimal floating-point, DFP.

Of these the first two, HFP and BFP, make zeros positive; but the
third, DFP, supports both positive and negative zeros.

The change to the Fortran standard comes, I believe, from support
for IEEE binary floating point, which is what went into IBM's BFP.

Among others, the reciprocal of -Infinity is supposed to be negative zero.

DFP, from the new IEEE standard, should also include all the negative
zero properties of the old standard.

(snip, someone else wrote)
What is x'8000 0000' interpreted as HFP?

I do remember that LNER and LCER generate negative zero, but
I am not sure about some other cases.  How about:

     X=-1e73
     Y=1e-10/X

with exponent underflow mask bit off?

A zero mantissa result causes the entire word to be set to zeros.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

Reply via email to