#7069: precision/rounding bug with floating point numbers on 32-bit-platforms
------------------------------------------+---------------------------------
Reporter: shahn | Owner: simonmar
Type: bug | Status: closed
Priority: normal | Milestone: 7.6.1
Component: Compiler | Version: 7.4.2
Resolution: wontfix | Keywords: Float Double 32
precision rounding
Os: Unknown/Multiple | Architecture: x86
Failure: Incorrect result at runtime | Difficulty: Unknown
Testcase: | Blockedby:
Blocking: | Related:
------------------------------------------+---------------------------------
Comment(by simonmar):
Replying to [comment:5 maeder]:
> Is it possible to set the FLDCW "floating-point load control-word" as
described in http://www.network-
theory.co.uk/docs/gccintro/gccintro_70.html?
As it happens I considered that back in 2003(!) and wrote a comment about
it:
[https://github.com/ghc/ghc/blob/f857f0741515b9ebf186beb38fe64448de355817/compiler/nativeGen/X86/Instr.hs#L106
this comment]
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7069#comment:6>
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