Mailinglist Archive: opensuse-programming (53 mails)
| < Previous | Next > |
RE: [suse-programming-e] Detect overflow when adding 2 unsigned int
- From: "Verdi March" <cincaipatron@xxxxxxx>
- Date: Tue, 7 Jun 2005 07:33:24 +0200 (MEST)
- Message-id: <14690.1118122404@xxxxxxxxxxxxx>
Hi,
Hallingstad Håkon wrote:
> Use 'if (c < a)' (or 'if (c < b)').
Thanks, you're right. Simple, yet slip through my mind.
Regards,
Verdi
--
Geschenkt: 3 Monate GMX ProMail gratis + 3 Ausgaben stern gratis
++ Jetzt anmelden & testen ++ http://www.gmx.net/de/go/promail ++
Hallingstad Håkon wrote:
> Use 'if (c < a)' (or 'if (c < b)').
Thanks, you're right. Simple, yet slip through my mind.
Regards,
Verdi
--
Geschenkt: 3 Monate GMX ProMail gratis + 3 Ausgaben stern gratis
++ Jetzt anmelden & testen ++ http://www.gmx.net/de/go/promail ++
| < Previous | Next > |