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 @@ -2065,6 +2065,19 @@ add_fp_unittest(
2065
2065
libc.src.math.f16sqrt
2066
2066
)
2067
2067
2068
+ add_fp_unittest (
2069
+ f16sqrtf_test
2070
+ NEED_MPFR
2071
+ SUITE
2072
+ libc-math-unittests
2073
+ SRCS
2074
+ f16sqrtf_test.cpp
2075
+ HDRS
2076
+ SqrtTest.h
2077
+ DEPENDS
2078
+ libc.src.math.f16sqrtf
2079
+ )
2080
+
2068
2081
add_fp_unittest (
2069
2082
f16sqrtl_test
2070
2083
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