On Sep 4, 2007, at 9:58 AM, Paul Gilmartin wrote:

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.
Gil,

You bring up an interesting question (to me). I wonder if anyone did during the Y2K testing try a date later that 2042.

Ed

----------------------------------------------------------------------
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

Reply via email to