summaryrefslogtreecommitdiff
path: root/libc/test/src/math/lrintf16_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/test/src/math/lrintf16_test.cpp')
-rw-r--r--libc/test/src/math/lrintf16_test.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/libc/test/src/math/lrintf16_test.cpp b/libc/test/src/math/lrintf16_test.cpp
new file mode 100644
index 000000000000..28b1a1cb888d
--- /dev/null
+++ b/libc/test/src/math/lrintf16_test.cpp
@@ -0,0 +1,13 @@
+//===-- Unittests for lrintf16 --------------------------------------------===//
+//
+// 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 "RoundToIntegerTest.h"
+
+#include "src/math/lrintf16.h"
+
+LIST_ROUND_TO_INTEGER_TESTS_WITH_MODES(float16, long, LIBC_NAMESPACE::lrintf16)