[libcxx-commits] [libcxx] [libc++][math] Add `constexpr` to classification / comparison functions (PR #210075)

A. Jiang via libcxx-commits libcxx-commits at lists.llvm.org
Sun Jul 19 10:09:31 PDT 2026


================
@@ -0,0 +1,95 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// bool isgreater(floating-point-type x, floating-point-type y); // constexpr since C++23
+
+// We don't control the implementation on windows
+// UNSUPPORTED: windows
+
----------------
frederick-vs-ja wrote:

I _think_ we can support these on Windows (or at least, some of these). I added workaround in #149234 which should work.
```suggestion
```

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


More information about the libcxx-commits mailing list