patch applied (packages/base): Fix crash with (minBound :: Int*) `div (-1) as result is maxBound + 1.

Ian Lynagh <[email protected]> Mon, 15 Jan 2007 06:21:57 -0800
Newsgroups gmane.comp.lang.haskell.cvs.all
Message-ID <[email protected]>
Mon Jan 15 06:20:05 PST 2007  Ian Lynagh <[email protected]>
  * Fix crash with   (minBound :: Int*) `div (-1)   as result is maxBound + 1.

    M ./GHC/Err.lhs -1 +7
    M ./GHC/Err.lhs-boot -1 +4
    M ./GHC/Int.hs -85 +127
    M ./GHC/Real.lhs -12 +24