https://llvm.org/bugs/show_bug.cgi?id=28936
Bug ID: 28936 Summary: std/numerics/complex.number/complex.transcendentals/as in.pass.cpp depends on the sign bit of NaN numbers Product: libc++ Version: 3.9 Hardware: PC OS: Linux Status: NEW Severity: release blocker Priority: P Component: All Bugs Assignee: unassignedclangb...@nondot.org Reporter: vasileios.kalinti...@imgtec.com CC: llvm-bugs@lists.llvm.org, mclow.li...@gmail.com Blocks: 28600 Classification: Unclassified I marked this test as a release blocker because it is failing in the 3.9rc1 release. However, even though I'm not too familiar with the IEEE754 standard, I believe that this test relies on behaviour specified by the newer, 2008 revision. One test case that fails is std::complex<double>(NAN, -2) which on the MIPS board produces r=(NAN, NAN), instead of the expected (NAN,-NAN) value: else if (std::isnan(testcases[i].real()) && std::isfinite(testcases[i].imag())) { assert(std::isnan(r.real())); assert(std::isnan(r.imag())); assert(std::signbit(testcases[i].imag()) == std::signbit(r.imag())); } All the cases from "cases.h" that fail on the asin.pass.cpp test, depend on the sign-bit being set for NaNs too. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs