summaryrefslogtreecommitdiff
path: root/libc/test/src/math/smoke/f16sqrt_test.cpp
diff options
context:
space:
mode:
authorOverMighty <its.overmighty@gmail.com>2024-07-01 01:20:39 +0200
committerGitHub <noreply@github.com>2024-06-30 19:20:39 -0400
commit6c1c451b867f250f1c2fab709f0c8657ffd21116 (patch)
tree7c9ce9a2267a2d228ca18c3ed9b9cbf40694f798 /libc/test/src/math/smoke/f16sqrt_test.cpp
parent67957a45ee1ec42ae1671cdbfa0d73127346cc95 (diff)
[libc][math][c23] Add f16sqrt{,l,f128} C23 math functions (#96642)
Part of #95250.
Diffstat (limited to 'libc/test/src/math/smoke/f16sqrt_test.cpp')
-rw-r--r--libc/test/src/math/smoke/f16sqrt_test.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/libc/test/src/math/smoke/f16sqrt_test.cpp b/libc/test/src/math/smoke/f16sqrt_test.cpp
new file mode 100644
index 000000000000..759b388ad3b3
--- /dev/null
+++ b/libc/test/src/math/smoke/f16sqrt_test.cpp
@@ -0,0 +1,13 @@
+//===-- Unittests for f16sqrt ---------------------------------------------===//
+//
+// 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 "SqrtTest.h"
+
+#include "src/math/f16sqrt.h"
+
+LIST_NARROWING_SQRT_TESTS(float16, double, LIBC_NAMESPACE::f16sqrt)