[libc-commits] [libc] [libc][math][c23] Add hypotf16() function (PR #131991)

via libc-commits libc-commits at lists.llvm.org
Tue Mar 25 07:29:04 PDT 2025


================
@@ -0,0 +1,27 @@
+//===-- Unittests for hypotf16 --------------------------------------------===//
+//
+// 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
+//
+//===----------------------------------------------------------------------===//
+
+#include "HypotTest.h"
+#include "hypotf16_hard_to_round.h"
----------------
lntue wrote:

For `hypotf16`, we can actually test it exhaustively, so you don't need to add hard-to-round test.  `hypotf16_hard_to_round.h` could be removed.

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


More information about the libc-commits mailing list