[GHC] #9304: Floating point woes; Different behavior on Mac vs Linux

GHC ghc-devs at haskell.org
Sun Jul 13 21:05:40 UTC 2014


#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]:
 > @carter: Good point; I haven't considered the implications of encoding
 of the input literals. Nonetheless, the experiment you suggested prints
 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


More information about the ghc-tickets mailing list