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

*To*: <hfahmy@xxxxxxxxxxxxxxxxxxxxxxx>, <tydeman@xxxxxxxxx>*Subject*: RE: Questions on data transfer and non-arithmetic handling rules*From*: Charles Stevens <charles.stevens@xxxxxxxx>*Date*: Sun, 1 May 2011 07:45:14 -0600*Cc*: IEEE 754 <stds-754@xxxxxxxxxxxxxxxxx>*Importance*: Normal*In-reply-to*: <BANLkTinniko5=NLNztiovKyaN4BH80boqQ@mail.gmail.com>*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>*References*: <COL112-W129FC9BCF42EA29088D5C9839D0@phx.gbl>,<000.08040d00d191bc4d.002@tybor.com>,<BANLkTinniko5=NLNztiovKyaN4BH80boqQ@mail.gmail.com>*Sender*: stds-754@xxxxxxxx

Thanks, Hassam. That's what I've proposed. -Chuck Stevens Date: Sun, 1 May 2011 12:54:37 +0300 Subject: Re: Questions on data transfer and non-arithmetic handling rules From: hfahmy@xxxxxxxxxxxxxxxxxxxxxxx To: tydeman@xxxxxxxxx CC: charles.stevens@xxxxxxxx; stds-754@xxxxxxxxxxxxxxxxx 2011/5/1 Fred J. Tydeman <tydeman@xxxxxxxxx>
To answer Charles' original question following the same path that Fred took, we get the following: 5.4.2 Conversion operations says: "These operations shall not propagate non-canonical results. " so a formatOf-convertFormat(source) from a source in one format to a destination in the same format will canonize any non-canonical input, i.e. it is not a bit for bit transfer. On the other hand, 5.5.1 Sign bit operations says: "These operations may propagate non-canonical encodings." so a copy(x) operation **may** be a bit for bit transfer. I am not a COBOL writer but, in view of the above, I would propose that you can translate (COMPUTE B = A) to a convertFormat and translate (MOVE A TO B) to a copy(x) unless the A and B in the MOVE are not of the same format in which case you should use the convertFormat. -- Hossam A. H. Fahmy Associate Professor Electronics and Communications Department Cairo University Egypt |

**References**:**Questions on data transfer and non-arithmetic handling rules***From:*Charles Stevens

**Re: Questions on data transfer and non-arithmetic handling rules***From:*Fred J. Tydeman

**Re: Questions on data transfer and non-arithmetic handling rules***From:*Hossam A. H. Fahmy

- Prev by Date:
**"reasonability" check** - Next by Date:
**RE: Questions on data transfer and non-arithmetic handling rules** - Previous by thread:
**Re: Questions on data transfer and non-arithmetic handling rules** - Next by thread:
**RE: Questions on data transfer and non-arithmetic handling rules** - Index(es):