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

    <tr>
        <th>Summary</th>
        <td>
            abs from cmath is not constexpr when it should be [C++23]
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

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

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

<pre>
    https://eel.is/c++draft/c.math.abs
https://en.cppreference.com/w/cpp/numeric/math/abs (constexpr since C++23)
https://godbolt.org/z/bq5coPsMo <-- demonstrating abs is not usable in constant expressions
Tried it locally with version 17.0.1 as well, didn't work
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxsksFunTwQhZ9m2IwuwmPgXhYschOx-6V_0RcwZgC3xqa2CU2evvJtqkhRV9bInvk85xwVo1kccw_NHZqXQh1p9aE3Vr2rYHQx-umtX1PaI8gnoAFoYLaliUCDBroD3aeg5pTLclNpLdUYoXqB6ulLlyv1vgeeObDTXGq_AQ1n7tt3oMEdGwejgYY8BWhQY0Sgm_YuJv61B4zGacbnP1CSQN2_OIufRm9T6cMCNLwDDePPRvv_438eQT5fLjjxlmcGlYxbMGNMROcTHlGNltE4fECVS5jBHKPx7mOpb8HwhCah9VpZ-4anSSu-cshvUFzLqhSoIp5sLdAzTmZyQNeEpw8_iqmXUyc7VXAv2q4V8toIKtaepBLUzZ2qFatOzHyrBbeNZNFK1vVcmJ4qkqKqRNWIm6RS57qRt3m-tXXdaqgr3pSxpbWvW16-MDEe3LfXrhKFVSPb-PCYyPGJj0sgypaHPvdcxmOJUFfWxBQ_pySTLPdZpDn4DXU2569en9acK7ssSlz9YSccGaG5fzrVvBRHsF9itJi0HuNHDjLv47jswX9nnRP1-GVO2mOL3wEAAP__uFrZ8Q">