"Paul Nevai" <[EMAIL PROTECTED]> wrote in message
news:31423@palm-dev-forum...
> E.g, can I check if (a + b < a || a + b < b)?

Or just:

    if (a + b < a)

or:

    if (a + b < b)

Both of these conditions will be true if the addition wraps around.
--
Danny Epstein
OS Engineer, Palm Inc.


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to