
@carter: Good point; I haven't considered the implications of encoding of the input literals. Nonetheless, the experiment you suggested prints
#9304: Floating point woes; Different behavior on Mac vs Linux -------------------------------------+------------------------------------ Reporter: lerkok | Owner: Type: bug | Status: new Priority: high | Milestone: Component: Compiler | Version: 7.8.3 Resolution: | Keywords: floating point Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: 9276 Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by carter): woops, you did -o rather than -O ! could you do the version thats in the edit of my comment please :) (just in case) Replying to [comment:11 lerkok]: precisely the same results:
{{{ [ubuntu-VirtualBox]~/precision>ghc main.hs -o main -msse2 -fforce-recomp
; ./main ; ghc main.hs -o main -fexcess-precision -fforce-recomp; ./main -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9304#comment:14 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler