[libcxx-commits] [libcxx] [libc++][math] Add `constexpr` to `std::fmax()` and `std::fmin()` (PR #222953)
Hristo Hristov via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Sep 13 00:17:03 PDT 2026
================
@@ -9,6 +9,12 @@
#ifndef _LIBCPP___MATH_MIN_MAX_H
#define _LIBCPP___MATH_MIN_MAX_H
+#if __has_constexpr_builtin(__builtin_fmax) || defined(_LIBCPP_COMPILER_GCC)
----------------
Zingam wrote:
@atharva-potdar When was __builtin_fmax made constexpr?
https://github.com/llvm/llvm-project/pull/222953
More information about the libcxx-commits
mailing list