llvm/llvm-project

Tracking progress for constexpr cmath (P0533R9, P1383R2)

Open

#139.885 geöffnet am 14. Mai 2025

Auf GitHub ansehen
 (16 Kommentare) (4 Reaktionen) (0 zugewiesene Personen)C++ (10.782 Forks)batch import
c++23c++26clang:frontenddocumentationgood first issuelibclibc++metaissue

Repository-Metriken

Stars
 (26.378 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 1T 2h) (1.000 gemergte PRs in 30 T)

Beschreibung

constexpr cmath papers (P0533R9, 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.

Contributor Guide