#4092: Floating point manipulation : ulp and coerce IEEE-754 Double# into
Word64#
---------------------------------+------------------------------------------
Reporter: malosh | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 7.2.1
Component: Compiler | Version: 6.12.2
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Comment(by simonmar):
partial patch for this attached. I ran into difficulty because there's no
way to allocate temporary memory for the conversion in the native code
generator. There are various ways to hack around this (use a spare slot
in StgReg, allocate a new word in the data segment) but none are very
nice. We really just want to allocate a slot from the spill area, but
that requires cooperation from the register allocator.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4092#comment:9>
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