[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
- Re: bug in Hugs 1.4 and 1.3c arithmetic (Number library) Alastair Reid
- Re: bug in Hugs 1.4 and 1.3c arithmetic (Number library) Jeffrey R. Lewis
- Re: bug in Hugs 1.4 and 1.3c arithmetic (Number libr... Carl R. Witty
- Re: bug in Hugs 1.4 and 1.3c arithmetic (Number library) Erik Meijer
- Re: bug in Hugs 1.4 and 1.3c arithmetic (Number library) Alastair Reid
- Re: bug in Hugs 1.4 and 1.3c arithmetic (Number library) Carl R. Witty
- Re: bug in Hugs 1.4 and 1.3c arithmetic (Number libr... Alastair Reid
- Re: bug in Hugs 1.4 and 1.3c arithmetic (Number library) Byron Cook
- Re: bug in Hugs 1.4 and 1.3c arithmetic (Number library) Carl R. Witty
- Simon Marlow
