[libcxx-commits] [PATCH] D116295: [libc++] Add missing templated version of `std::lerp`

Joe Loser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sun Dec 26 19:25:08 PST 2021


jloser added inline comments.


================
Comment at: libcxx/test/std/numerics/c.math/cmath.pass.cpp:1140
     static_assert((std::is_same<decltype(std::hypot((float)0, (int)0, (long double)0)), long double>::value), "");
-    static_assert((std::is_same<decltype(std::hypot((float)0, (unsigned int)0)), double>::value), "");
     static_assert((std::is_same<decltype(std::hypot((float)0, (double)0, (long)0)), double>::value), "");
----------------
Why remove this? Seems unrelated? 


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116295/new/

https://reviews.llvm.org/D116295



More information about the libcxx-commits mailing list