File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -1979,6 +1979,19 @@ add_fp_unittest(
1979
1979
libc.src.math.f16sqrt
1980
1980
)
1981
1981
1982
+ add_fp_unittest (
1983
+ f16sqrtf_test
1984
+ NEED_MPFR
1985
+ SUITE
1986
+ libc-math-unittests
1987
+ SRCS
1988
+ f16sqrtf_test.cpp
1989
+ HDRS
1990
+ SqrtTest.h
1991
+ DEPENDS
1992
+ libc.src.math.f16sqrtf
1993
+ )
1994
+
1982
1995
add_fp_unittest (
1983
1996
f16sqrtl_test
1984
1997
NEED_MPFR
Original file line number Diff line number Diff line change
1
+ // ===-- Unittests for f16sqrtf --------------------------------------------===//
2
+ //
3
+ // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
+ // See https://llvm.org/LICENSE.txt for license information.
5
+ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
+ //
7
+ // ===----------------------------------------------------------------------===//
8
+
9
+ #include " SqrtTest.h"
10
+
11
+ #include " src/math/f16sqrtf.h"
12
+
13
+ LIST_NARROWING_SQRT_TESTS (float16, float , LIBC_NAMESPACE::f16sqrtf)
You can’t perform that action at this time.
0 commit comments