[clang] [clang] Make __builtin_exp and __builtin_expf constexpr. (PR #199808)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 11 13:47:55 PDT 2026
lntue wrote:
> The implementation isn't meeting the [library.c]p3 restriction that exceptions (other than FE_INEXACT) cause library calls to not be constant expressions.
@jcranmer-intel I'm adding exception check for exp in APFloat at https://github.com/llvm/llvm-project/pull/203066. PTAL. Thanks,
https://github.com/llvm/llvm-project/pull/199808
More information about the cfe-commits
mailing list