|
|||||||||||
|
Re: MSIE integer overflows
From: Luciano Miguel Ferreira Rocha <strange(at)nsk.no-ip.org>
Date: Wed May 14 2003 - 13:10:46 EDT
On Wed, May 14, 2003 at 11:30:44AM +0200, Berend-Jan Wever wrote:
While ++i and i++ are distinct and perfectly defined, "a = ++i + 2 * --i" isn't. As isn't "printf("%d %d\n", ++i, i++)". In the second example, what should the compiler execute first? ++i or i++? I believe C standards advised against that and let it be an undefined behaviour. I don't know about C99, neither javascript.
Regards,
> -- example.js --
This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:07:39 EDT |
||||||||||
|
|||||||||||