
#8726: integer-gmp division regression ------------------------------------------------+-------------------------- Reporter: erikd | Owner: hvr Type: bug | Status: new Priority: highest | Milestone: 7.8.1 Component: libraries (other) | Version: Resolution: | 7.8.1-rc1 Operating System: Unknown/Multiple | Keywords: Type of failure: Incorrect result at runtime | Integer-gmp Test Case: | Architecture: Blocking: | Unknown/Multiple | Difficulty: | Unknown | Blocked By: | Related Tickets: ------------------------------------------------+-------------------------- Comment (by erikd): Related problems with divMod. ghc-7.6.3: {{{ Prelude> divMod 0x10000000000000001 (-0x100000) (-17592186044417,-1048575) Prelude> divMod 0x10000000001 (-0x100000) (-1048577,-1048575) }}} ghc-7.6: {{{ Prelude> divMod 0x10000000000000001 (-0x100000) (17592186044417,1048575) Prelude> divMod 0x10000000001 (-0x100000) (-1048577,-1048575) }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8726#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler