#7460: Double literals generated bad core
---------------------------------+------------------------------------------
    Reporter:  tibbe             |       Owner:                         
        Type:  bug               |      Status:  new                    
    Priority:  normal            |   Milestone:                         
   Component:  Compiler          |     Version:  7.4.2                  
    Keywords:                    |          Os:  Unknown/Multiple       
Architecture:  Unknown/Multiple  |     Failure:  Runtime performance bug
  Difficulty:  Unknown           |    Testcase:                         
   Blockedby:                    |    Blocking:                         
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by tibbe):

 Even if 7.0 was a bit better it seems like having a `word2Double#` and a
 `word2Float#` primop makes sense. They should behave in the same way as
 `fromIntegral (w :: Word) :: Double` and `fromIntegral (w :: Word) ::
 Float` does today presumably.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7460#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to