[GHC] #7460: Double literals generated bad core
GHC
cvs-ghc at haskell.org
Wed Dec 5 20:06:45 CET 2012
#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
More information about the Glasgow-haskell-bugs
mailing list