<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/139885>139885</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Tracking progress for constexpr cmath (P0533R9, P1383R2)
</td>
</tr>
<tr>
<th>Labels</th>
<td>
documentation,
good first issue,
libc++,
clang:frontend,
libc,
c++23,
c++26
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
cor3ntin
</td>
</tr>
</table>
<pre>
`constexpr` cmath papers ([P0533R9](https://wg21.link/P0533R9), [P1383R2](https://wg21.link/P1383R2) for C++23 and C++26 will take a while to implement.
As we plan to implement builtins in clang using llvm-libc' math functions, and then use that to implement `libc++`, it would be useful to have a page that tracks what builtins are implemented, what libc features are missing, and what is supported by libc++.
That would let
- LLVM contributors coordinate more effectively
- Let users know what they can use
- Let other implementers synchronize (MSVC wants to use libc, and MSSTL wants to be clang compatible)
I'm not sure if the best place would be a GitHub issue or an RST file somewhere.
Note that libc does an excellent job of tracking what they support https://libc.llvm.org/headers/math/index.html.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyEVE9zqzYQ_zTisvM8WBgMBw5OMm47k3Q6SebdhVhAL0JipMWO--k7i_8l7aEnbLS7_P5pVYymd4i1yB9E_pSomQYfau1D5si4pPHtqRZFqr2LhJ9TEEUKelQ0wKQmDBGELEX-8FeaZ9lrJfInIcuBaIoi2wm5F3J_7OV6ZY37EHJ_LZOVkI_AfeuszF7l__ZdymQFnQ_wKOSDkA8yA-Xa278CjsZaIPWBoOA4GItAHsw4WRzR0UqkO5HudhGOCJNV7tspNLOxZFwE40Bb5XqYo3E9WHsYf1jTaCG3sDDvZqfJeBeZBCOgAR3MEYEGRd-niiI99zJEUaTcYgiOfrYtNMhd3Wy5Z1AHxj2p_jonKP0R4ci_b-BUwPt0bHncUsAfgQ4VzQHPVaOJjP-KcakyEeI8TT4QttCc4A7tIs47V53BWSS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