<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - std/numerics/complex.number/complex.transcendentals/asin.pass.cpp depends on the sign bit of NaN numbers"
   href="https://llvm.org/bugs/show_bug.cgi?id=28936">28936</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>std/numerics/complex.number/complex.transcendentals/asin.pass.cpp depends on the sign bit of NaN numbers
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libc++
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.9
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>release blocker
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>Vasileios.Kalintiris@imgtec.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org, mclow.lists@gmail.com
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>28600
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>