<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/88770>88770</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [libc][math] should `asin` functions set `errno == ERANGE` on underflow?
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            libc
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          Flandini
      </td>
    </tr>
</table>

<pre>
    Following up on #61092.

`asinf` is setting `FE_UNDERFLOW` in these cases, but I don't think it sets `errno == ERANGE` in all cases for all `asin` implementations. It is implementation defined if `errno` is set to `ERANGE` in this case.

Thoughts @michaelrj-google @nickdesaulniers?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx0Uk1vnDwQ_jXDxQoyBsNy4LB5WV5FqlIpatVjZewBOzH2CtuN-u8r3FXTPfQC8oznmefDIgSzOsQB-CPwsRApar8PkxVOGWeK2aufw-St9e_GrSRdiXcEWN1WtGcl0BHo-fZtqQjGLdBSYgIJGOMxAS2dLt-_Po-Xl-nT52-560jUGJBIETAA-4_MKZInorwD1kUStXFvxMQDIxwAuO_OE6hHqEdyeTk__3-54Qhrf6OQxe_5dKOR-9vV4oYuimi8CyV5igez-zJRuBiHipjlz6oPCST6o3q3M2oT8tI7-V-0T6s--DZ0M1ILtPvrw-r9avGoOSPfFAaRrDO4B6inQg216uteFDhUXVUz2nDeFXroeSdprSq-yJOaGZ9b7Nu-reZ-rnklRWEGRllDm4pXJ9pXdVmJthW0l5L1S4MNQkNxE8aW1v7YSr-vhQkh4XA6dR0trJjRhpw4Y9bMEhg7st-H4_rDnNYADbUmxPABEE20-ZXkAT4Cf9xE1MBHErRPVv3t_JKczJ5nD_-doHckOYX7Yv374Uja7aBjvAaoz8AmYNNqok5zKf0GbDrI3H4P192_oozApiwtAJuyul8BAAD__1Nq4Zs">