[EMAIL PROTECTED] (Carl R. Witty) writes:

> I looked into this some more, and it seems to be a "feature" of the X86.

Yep, from my x86 manual:

        Protected mode exceptions for DIV

                Interrupt 0 if the quotient is too large to fit in the
                designated register.

INT_MIN / -1   is 1 larger than INT_MAX.

Cheers,
        Simon

-- 
Simon Marlow                                             [EMAIL PROTECTED]
University of Glasgow                       http://www.dcs.gla.ac.uk/~simonm/
finger for PGP public key

Reply via email to