summaryrefslogtreecommitdiff
path: root/libc/test/src/math/smoke/setpayloadf16_test.cpp
diff options
context:
space:
mode:
authorOverMighty <its.overmighty@gmail.com>2024-06-20 19:33:34 +0200
committerGitHub <noreply@github.com>2024-06-20 13:33:34 -0400
commit1107575c95577f32678ad60a96be6eaf29cf0f65 (patch)
treec0b395399cb7bc243ced228a5dfab3e7dd9de92c /libc/test/src/math/smoke/setpayloadf16_test.cpp
parentf1edc0459a4cc8cd4d00331c2a5cb318955318b2 (diff)
[libc][math][c23] Add {getpayload,setpayload,setpayloadsig}f16 C23 math functions (#95159)
Part of #93566.
Diffstat (limited to 'libc/test/src/math/smoke/setpayloadf16_test.cpp')
-rw-r--r--libc/test/src/math/smoke/setpayloadf16_test.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/libc/test/src/math/smoke/setpayloadf16_test.cpp b/libc/test/src/math/smoke/setpayloadf16_test.cpp
new file mode 100644
index 000000000000..ccf537027234
--- /dev/null
+++ b/libc/test/src/math/smoke/setpayloadf16_test.cpp
@@ -0,0 +1,13 @@
+//===-- Unittests for setpayloadf16 ---------------------------------------===//
+//
+// 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 "SetPayloadTest.h"
+
+#include "src/math/setpayloadf16.h"
+
+LIST_SETPAYLOAD_TESTS(float16, LIBC_NAMESPACE::setpayloadf16)