[GHC] #15062: num009 is incredibly platform-sensitive

GHC ghc-devs at haskell.org
Wed May 30 15:58:08 UTC 2018


#15062: num009 is incredibly platform-sensitive
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  high              |            Milestone:  8.6.1
       Component:  Test Suite        |              Version:  8.2.2
      Resolution:                    |             Keywords:  ci-breakage
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 Nothing is broken; all of the variations I've seen are at numerical
 precision. This is just expected variation from platform-to-platform. The
 transcendental operations tested by `num009` are typically implemented in
 terms of the platform's supported floating point operations by `libc`.
 `libc`s vary in their implementation strategies for these operations.
 Moreover, the extra precision of x87 (which we still use by default on
 x86) has an impact.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15062#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list