[clang] [llvm] [C++23] [CLANG] Adding C++23 constexpr math functions: fmin, fmax and frexp. (PR #88978)

Hubert Tong via cfe-commits cfe-commits at lists.llvm.org
Sun May 19 19:38:16 PDT 2024


================
@@ -14683,6 +14710,23 @@ bool FloatExprEvaluator::VisitCallExpr(const CallExpr *E) {
   default:
     return false;
 
+  case Builtin::BI__builtin_frexp:
+  case Builtin::BI__builtin_frexpf:
+  case Builtin::BI__builtin_frexpl: {
----------------
hubert-reinterpretcast wrote:

`__builtin_frexpf16` and `__builtin_frexp128` should probably be added at the same time as the other `__builtin_*` cases.

https://github.com/llvm/llvm-project/pull/88978


More information about the cfe-commits mailing list