#1861: Uncompilable code generated
----------------------+-----------------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.8.3
Component: Compiler | Version: 6.9
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: x86
Os: MacOS X |
----------------------+-----------------------------------------------------
Comment (by simonpj):
So the problem here is a narrow one: how does one write down the IEEE
Double constant for infinity, in such a way that the C compiler
understands it. Does one write "1e400" or "1e10000000" (both are too big
to be represented) or is there a kosher way to do it?
Or can one say "0xblablah" where that's the IEEE bit pattern for infinity?
Or perhaps "1/0" would do? I don't know.
Simon
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1861#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs