"Weird Number" crashes GHCi (and Hugs) when integer-divided by -1
|Reported by:||Owned by:|
|Type of failure:||None/Unknown||Test Case:|
|Related Tickets:||Differential Rev(s):|
This expression triggers a crash in GHCi on Windows XP, using the 6.6 binary distribution. It generates zero on the PowerPC binary. This also affects HUGS.
-2147483648 is the "weird number" (largest 32-bit negative) which has no positive counterpart representable in 32 bits.