Have you tested that expression and ever see an overflow printed out?
On 2/6/07, pramod negi <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > i think
>
>
> to check whethere the result is overflowed or not
>
> check if ((A+B) -A is not equal to B)
> printf("Overflow");
>
>
> correct in if i m wrong........
>
> >
>
--
Fear of the LORD is the beginning of knowledge (Proverbs 1:7)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups-beta.google.com/group/algogeeks
-~----------~----~----~----~------~----~------~--~---