[all-commits] [llvm/llvm-project] a705e8: [libc++][NFC] Remove __constexpr_is{nan, finite} (#...

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Thu Aug 29 08:06:20 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a705e8cb5b071b3bf6d1d55629f18f6b7b9699ac
      https://github.com/llvm/llvm-project/commit/a705e8cb5b071b3bf6d1d55629f18f6b7b9699ac
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M libcxx/include/cmath
    M libcxx/include/complex
    M libcxx/test/libcxx/numerics/c.math/constexpr-fns.pass.cpp

  Log Message:
  -----------
  [libc++][NFC] Remove __constexpr_is{nan,finite} (#106205)

They're never used in `constexpr` functions, so we can simply use
`std::isnan` and `std::isfinite` instead.



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