[libcxx-commits] [libcxx] [libc++][math] Fix undue overflowing of `std::hypot(x, y, z)` (PR #93350)

via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jul 4 12:04:15 PDT 2024


================
@@ -1113,6 +1116,44 @@ void test_fmin()
     assert(std::fmin(1,0) == 0);
 }
 
+struct TestHypot3 {
+    template <class Real>
+    static void operator()() {
----------------
PaulXiCao wrote:

Fixed in a80b11e49e67a816c6c7cb116ea155ad9957764b.

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


More information about the libcxx-commits mailing list