diff options
author | OverMighty <its.overmighty@gmail.com> | 2024-07-03 01:27:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-02 19:27:09 -0400 |
commit | 4e567242133678c88a6cb5aeb979c6148f6a7035 (patch) | |
tree | 40edd48dacb95ff0e44c9aea4ad31b71cff45d24 /libc/test/src/math/f16sub_test.cpp | |
parent | 4b28b3fae4eb0808a135a7ec73a2f4a7257a6652 (diff) | |
download | llvm-4e567242133678c88a6cb5aeb979c6148f6a7035.zip llvm-4e567242133678c88a6cb5aeb979c6148f6a7035.tar.gz llvm-4e567242133678c88a6cb5aeb979c6148f6a7035.tar.bz2 |
[libc][math][c23] Add f16{add,sub}{,l,f128} C23 math functions (#97072)
Part of #93566.
Diffstat (limited to 'libc/test/src/math/f16sub_test.cpp')
-rw-r--r-- | libc/test/src/math/f16sub_test.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libc/test/src/math/f16sub_test.cpp b/libc/test/src/math/f16sub_test.cpp new file mode 100644 index 0000000..37b9709 --- /dev/null +++ b/libc/test/src/math/f16sub_test.cpp @@ -0,0 +1,13 @@ +//===-- Unittests for f16sub ----------------------------------------------===/ +// +// 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 "SubTest.h" + +#include "src/math/f16sub.h" + +LIST_SUB_TESTS(float16, double, LIBC_NAMESPACE::f16sub) |