[GHC] #2370: num009 fails on OS X 10.5?
GHC
cvs-ghc at haskell.org
Mon May 16 00:34:39 CEST 2011
#2370: num009 fails on OS X 10.5?
-------------------------------+--------------------------------------------
Reporter: batterseapower | Owner:
Type: bug | Status: new
Priority: low | Milestone: 7.2.1
Component: Compiler | Version: 6.9
Keywords: | Testcase: lib/Numeric/num009
Blockedby: | Difficulty: Unknown
Os: MacOS X | Blocking:
Architecture: x86_64 (amd64) | Failure: None/Unknown
-------------------------------+--------------------------------------------
Comment(by batterseapower):
What is happening is that GHC is using the algorithm described in #2059 to
implement the trig functions tested by num009. The answers returned are
exactly as they are on other platforms. However, those answers do not
agree with whatever is being returned by the implementation of the math.h
functions on OS X.
Given that the arguments being tested are so large, pretty much any answer
would be acceptable from these functions as long as it is within the right
range, which these are. So everything is working as expected, but the test
is failing.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2370#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list