changeset 22498:4d9c371d2cca

test: Mark acosh BIST tests with bug number 49091. * mappers.cc (acosh): Mark BIST tests with bug number 49091. Add FIXME explaining that we are letting this test fail until the upstream std::acosh library is improved.
author Rik <rik@octave.org>
date Thu, 15 Sep 2016 11:12:02 -0700
parents a3f74fed899b
children dbe0ec8d53b5
files libinterp/corefcn/mappers.cc
diffstat 1 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/mappers.cc	Thu Sep 15 10:24:45 2016 -0700
+++ b/libinterp/corefcn/mappers.cc	Thu Sep 15 11:12:02 2016 -0700
@@ -156,7 +156,12 @@
 %! v = [0, pi/2*i, pi*i, pi/2*i];
 %! assert (acosh (x), v, sqrt (eps));
 
-%!test
+## FIXME: std::acosh on Windows platforms, returns a result that differs
+## by 1 in the last significant digit.  This is ~30*eps which is quite large.
+## The decision now (9/15/2016) is to mark the test with a bug number so
+## it is understood why it is failing, and wait for MinGw to improve their
+## std library.
+%!test <49091>
 %! re = 2.99822295029797;
 %! im = pi/2;
 %! assert (acosh (-10i), re - i*im);
@@ -166,7 +171,7 @@
 %! v = single ([0, pi/2*i, pi*i, pi/2*i]);
 %! assert (acosh (x), v, sqrt (eps ("single")));
 
-%!test
+%!test <49091>
 %! re = single (2.99822295029797);
 %! im = single (pi/2);
 %! assert (acosh (single (10i)), re + i*im, 5*eps ("single"));