On Tue, 4 Sep 2007 09:44:55 -0400, Craddock, Chris wrote: > >Don't forget that the 8 byte TOD is unsigned, so bit zero is part of the >value, not the sign. You will need to use the subtract logical form to >get the right answer without playing bit-shifting games, even in a 64 >bit register. > o The sign bit of the TOD last changed in 1971; it next changes in 2042. Within the interior of that interval, either the logical or the algebraic form works.
o Unless integer overflow is enabled in the program mask, or the programmer is concerned with the condition code, the logical and algebraic forms give identical results. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html