[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

*To*: stds-754 <stds-754@xxxxxxxxxxxxxxxxx>*Subject*: division(x,infinity)=0*From*: "Hossam A. H. Fahmy" <hfahmy@xxxxxxxxxxxxxxxxxxxxxxx>*Date*: Sat, 26 Feb 2011 11:42:40 +0200*List-help*: <http://listserv.ieee.org/cgi-bin/wa?LIST=STDS-754>, <mailto:LISTSERV@LISTSERV.IEEE.ORG?body=INFO%20STDS-754>*List-owner*: <mailto:STDS-754-request@LISTSERV.IEEE.ORG>*List-subscribe*: <mailto:STDS-754-subscribe-request@LISTSERV.IEEE.ORG>*List-unsubscribe*: <mailto:STDS-754-unsubscribe-request@LISTSERV.IEEE.ORG>*Sender*: stds-754@xxxxxxxx

Dear 754 people,

Just wanted to check with you all:

For decimal FP, the division of a finite x by infinity should be zero but what is the resulting exponent?

In clause 6.1 on page 34 (infinity arithmetic) nothing is specified regarding that.

In clause 5.2 on page 18, it is clear that when the result is exact (which is the case here as confirmed in clause 6.1) then we should have the preferred exponent of the operation.

In clause 5.4.1. on page 21, the division(x, y) has a preferred exponent Q(x) -Q(y). That leads one to ask what is the "exponent" of infinity?

In clause 3.5.2 on page 11, point b) explains that remaining bits in G and T are ignored for infinities but it does not explicitly say that the exponent is treated as if it were zero as the previous point of the same clause states clearly for NaNs.

So, is the correct approach to treat the exponent of infinity as zero similar to NaNs? Shall we explicitly mention that in the following revision of the standard?

Thanks

--

Hossam A. H. Fahmy

Just wanted to check with you all:

For decimal FP, the division of a finite x by infinity should be zero but what is the resulting exponent?

In clause 6.1 on page 34 (infinity arithmetic) nothing is specified regarding that.

In clause 5.2 on page 18, it is clear that when the result is exact (which is the case here as confirmed in clause 6.1) then we should have the preferred exponent of the operation.

In clause 5.4.1. on page 21, the division(x, y) has a preferred exponent Q(x) -Q(y). That leads one to ask what is the "exponent" of infinity?

In clause 3.5.2 on page 11, point b) explains that remaining bits in G and T are ignored for infinities but it does not explicitly say that the exponent is treated as if it were zero as the previous point of the same clause states clearly for NaNs.

So, is the correct approach to treat the exponent of infinity as zero similar to NaNs? Shall we explicitly mention that in the following revision of the standard?

Thanks

--

Hossam A. H. Fahmy

**Follow-Ups**:**RE: division(x,infinity)=0***From:*Mike Cowlishaw

- Prev by Date:
**Re: Two technical questions on IEEE Std 754-2008** - Next by Date:
**RE: division(x,infinity)=0** - Previous by thread:
**Potential modifications to COBOL relative to IEEE 754** - Next by thread:
**RE: division(x,infinity)=0** - Index(es):