lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> I'm not *that* old, but I think the first reaction of some of us was
> "integer division in C is defined?"
> 
> This is clearly the result of intentionally forgetting C99's choice of how
> to deal with negative numbers.

I think integer division was well defined in C89. Modulus ('%') is the
one that was undefined until C99.

-- Roberto