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

    <tr>
        <th>Summary</th>
        <td>
            [libc][math] `remainder(-inf, -inf)` and `remquo` not raising invalid or setting `errno`
        </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, this case still remains.

Fix seems simple since there is already a branch handling these cases and returning, we just need to add the calls to set these.

I have a fix and some tests.

Tagging @nickdesaulniers @michaelrj-google.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxUkU1u3DAMhU8jb4gZyPJP7IUXSQcGuu8FaIu2mcrSVJQnye0LeYoC2UgAQT4-fg9FePVEg2reVHMr8EhbiMPo0Fv2XEzBfg1jcC58sF_huEPwoEzVlro3yvyAtLHAjEIgiZ2DSDuyl6vSN6Vfn-_InyBEu4DwfncEwn4mSBtFAhZAFwntFyBMEf28wYbeurwvbSR0ygugtxApHdGzX_PqD4L3QxJ4IgspAFqbB2BG5yQXhNJT4Zubn7DhgwBh4c9TVMJOkEjSd9e_cF2zB1Vrz_NvS4KH80xRcmnneUNy8f2yhrA6uhZ2qGxf9VjQUL6UldF1VXbFNixU667v5xmRyrrqS22m5qWuadHaoi4LHow2ta7Lpux0U7bXpW9Nbdoap2XW02JVrTNVd3XusV9DXAsWOWjoupe2LxxO5OQM0BjH06yMyVHGIbdfpmMVVWvH-b7_AomTO0M_B5qbat52TJtqbqBa_QzRUlSmu7BfMu3n36tWn9CeXX-OkAs-JIjIknGxf6BjCyFm_ukk2GqK0efW4ohu2FK6i6pelRmVGVdO2zFd57ArM2aD_77LPYZ3mpMy43muKDOeF_8NAAD__3FP3pU">