[GHC] #15062: num009 is incredibly platform-sensitive
GHC
ghc-devs at haskell.org
Wed May 30 15:58:45 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):
Here is the i386 output for posterity,
{{{
Actual stdout output differs from expected:
--- ../../libraries/base/tests/Numeric/num009.run/num009.stdout.normalised
2018-04-19 18:22:43.131191836 +0000
+++
../../libraries/base/tests/Numeric/num009.run/num009.run.stdout.normalised
2018-04-19 18:22:43.131191836 +0000
@@ -1 +1,81 @@
+uh oh! sind 3.141592653589793
+1.2246467991473532e-16
+1.2246063538223773e-16
+(4967757600021511,-105)
+(4967593534291968,-105)
+uh oh! sind 1.0e10
+-0.4875060250875107
+-0.48750602507627
+(-8782127811699939,-54)
+(-8782127811497445,-54)
+uh oh! sind 1.0e20
+-0.6452512852657808
+-0.7469218912594929
+(-5811906895766608,-53)
+(-6727674302302237,-53)
+uh oh! sinf 1.0e20
+0.6565767
+-0.7710884
+(11015529,-24)
+(-12936717,-24)
+uh oh! cosd 1.5707963267948966
+6.123233995736766e-17
+6.123031769111886e-17
+(4967757600021511,-106)
+(4967593534291968,-106)
+uh oh! cosd 1.0e10
+0.873119622676856
+0.8731196226831323
+(7864362414674714,-53)
+(7864362414731245,-53)
+uh oh! cosd 1.0e20
+0.7639704044417283
+-0.6649117899070088
+(6881233657531709,-53)
+(-5988992978518909,-53)
+uh oh! cosf 1.0e20
+0.7542593
+0.63672805
+(12654371,-24)
+(10682524,-24)
+uh oh! tand 3.141592653589793
+-1.2246467991473532e-16
+-1.2246063538223773e-16
+(-4967757600021511,-105)
+(-4967593534291968,-105)
+uh oh! tand 1.5707963267948966
+1.633123935319537e16
+1.6331778728383844e16
+(8165619676597685,1)
+(8165889364191922,1)
+uh oh! tand 1.0e10
+-0.5583496378112418
+-0.5583496377943541
+(-5029166441578320,-53)
+(-5029166441426209,-53)
+uh oh! tand 1.0e20
+-0.8446024630198843
+1.123339821307656
+(-7607502675465108,-53)
+(5059072800651599,-52)
+uh oh! tanf 1.5707964
+-2.2877334e7
+-2.2877332e7
+(-11438667,1)
+(-11438666,1)
+uh oh! tanf 1.0471976
+1.732051
+1.7320509
+(14529497,-23)
+(14529496,-23)
+uh oh! tanf 1.0e10
+-0.55834967
+-0.5583496
+(-9367553,-24)
+(-9367552,-24)
+uh oh! tanf 1.0e20
+0.870492
+-1.2110169
+(14604432,-24)
+(-10158746,-23)
Done
*** unexpected failure for num009(normal)
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15062#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list