[all-commits] [llvm/llvm-project] a69add: [libc++][math] Add `constexpr` to comparison funct...

Lucas Mellone via All-commits all-commits at lists.llvm.org
Tue Jul 28 08:15:08 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a69addf4fb640c34fa8249543003c375247c4933
      https://github.com/llvm/llvm-project/commit/a69addf4fb640c34fa8249543003c375247c4933
  Author: Lucas Mellone <github.snugness349 at passinbox.com>
  Date:   2026-07-28 (Tue, 28 Jul 2026)

  Changed paths:
    M libcxx/include/__math/traits.h
    M libcxx/include/cmath
    M libcxx/test/libcxx/numerics/c.math/constexpr-cxx23-clang.pass.cpp
    M libcxx/test/libcxx/numerics/c.math/constexpr-cxx23-gcc.pass.cpp
    A libcxx/test/std/numerics/c.math/isgreater.pass.cpp
    A libcxx/test/std/numerics/c.math/isgreaterequal.pass.cpp
    A libcxx/test/std/numerics/c.math/isless.pass.cpp
    A libcxx/test/std/numerics/c.math/islessequal.pass.cpp
    A libcxx/test/std/numerics/c.math/islessgreater.pass.cpp
    A libcxx/test/std/numerics/c.math/isunordered.pass.cpp

  Log Message:
  -----------
  [libc++][math] Add `constexpr` to comparison functions (#210075)

Implement `constexpr` to all comparison functions (`std::isgreater`,
`std::isgreaterequal`, `std::isless`, `std::islessequal`,
`std::islessgreater`, `std::isunordered`) as defined by
[P0533R9](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p0533r9.pdf).

Towards https://github.com/llvm/llvm-project/issues/105174. Follows-up
https://github.com/llvm/llvm-project/pull/94118.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list