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 @@ -2005,6 +2005,19 @@ add_fp_unittest(
2005
2005
libc.src.math.f16sqrt
2006
2006
)
2007
2007
2008
+ add_fp_unittest (
2009
+ f16sqrtf_test
2010
+ NEED_MPFR
2011
+ SUITE
2012
+ libc-math-unittests
2013
+ SRCS
2014
+ f16sqrtf_test.cpp
2015
+ HDRS
2016
+ SqrtTest.h
2017
+ DEPENDS
2018
+ libc.src.math.f16sqrtf
2019
+ )
2020
+
2008
2021
add_fp_unittest (
2009
2022
f16sqrtl_test
2010
2023
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