[libc-commits] [libc] [libc][math] Adds rsqrtbf16 higher math function for bfloat16 type (PR #235422)
via libc-commits
libc-commits at lists.llvm.org
Sat Nov 21 09:44:51 PST 2026
================
@@ -0,0 +1,50 @@
+//===-- Utility class to test rsqrt[f|l] ------------------------*- C++ -*-===//
+//
+// 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
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_LIBC_TEST_SRC_MATH_SMOKE_RSQRTTEST_H
+#define LLVM_LIBC_TEST_SRC_MATH_SMOKE_RSQRTTEST_H
+
+#include "test/UnitTest/FEnvSafeTest.h"
+#include "test/UnitTest/FPMatcher.h"
+#include "test/UnitTest/Test.h"
+
+template <typename OutType, typename InType>
----------------
lntue wrote:
`rsqrt*` functions have the same input and output types.
https://github.com/llvm/llvm-project/pull/235422
More information about the libc-commits
mailing list