[GHC] #1335: overflow in multiplication

GHC trac at galois.com
Sun May 6 10:59:28 EDT 2007


#1335: overflow in multiplication
-------------------------------+--------------------------------------------
  Reporter:  izulin at gmail.com  |          Owner:                         
      Type:  bug               |         Status:  new                    
  Priority:  normal            |      Milestone:                         
 Component:  GHCi              |        Version:  6.6.1                  
  Severity:  normal            |       Keywords:  overflow multiplication
Difficulty:  Unknown           |             Os:  Linux                  
  Testcase:                    |   Architecture:  x86_64 (amd64)         
-------------------------------+--------------------------------------------
*Main> 3492928512*3492928512
 -6246194483767017472
 cmTypeOfName: it
 it :: Integer

 in both 6.6.1 and 6.4.2

 (works correct on 32bit)

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1335>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
-------------- next part --------------
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs at haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


More information about the Glasgow-haskell-bugs mailing list