#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 simonpj): Johan, can you drive this ticket to conclusion? Is the Right Thing to implement a `word2Double#` primitive? And `word2Float#` I guess. What exactly does it do? Just treat the word as a unsigned integer, thus behaving just like `int2Double#` (at least as I understand it)? If so why not do precisely that, rather than use workarounds? Presuambly the code generators would need to be educated. Simon -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7460#comment:5> 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