diff options
| author | Tue Ly <lntue@google.com> | 2023-09-06 22:12:36 -0400 |
|---|---|---|
| committer | Tue Ly <lntue@google.com> | 2023-09-19 12:10:21 -0400 |
| commit | 84c899b2350f95ab4d1a335158363d2c112029ba (patch) | |
| tree | 7f21b52b34b23ce65faa1f1b1c1eed2f07d8c744 /libc/test/src/math/smoke/modf_test.cpp | |
| parent | 82676d49d387f94d36f88580acff158cf78c00cd (diff) | |
[libc][math] Extract non-MPFR math tests into libc-math-smoke-tests.
Extract non-MPFR math tests into libc-math-smoke-tests.
Reviewed By: sivachandra, jhuber6
Differential Revision: https://reviews.llvm.org/D159477
Diffstat (limited to 'libc/test/src/math/smoke/modf_test.cpp')
| -rw-r--r-- | libc/test/src/math/smoke/modf_test.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libc/test/src/math/smoke/modf_test.cpp b/libc/test/src/math/smoke/modf_test.cpp new file mode 100644 index 000000000000..ff89517506b4 --- /dev/null +++ b/libc/test/src/math/smoke/modf_test.cpp @@ -0,0 +1,13 @@ +//===-- Unittests for modf ------------------------------------------------===// +// +// 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 "ModfTest.h" + +#include "src/math/modf.h" + +LIST_MODF_TESTS(double, __llvm_libc::modf) |
