forked from OSchip/llvm-project
[libc][NFC][Obvious] Remove few unnecessary #include directives in tests.
This commit is contained in:
parent
4f14b80803
commit
cee1e7d14f
|
@ -9,13 +9,14 @@
|
|||
#ifndef LLVM_LIBC_TEST_SRC_MATH_HYPOTTEST_H
|
||||
#define LLVM_LIBC_TEST_SRC_MATH_HYPOTTEST_H
|
||||
|
||||
#include "include/math.h"
|
||||
#include "utils/FPUtil/FPBits.h"
|
||||
#include "utils/FPUtil/Hypot.h"
|
||||
#include "utils/FPUtil/TestHelpers.h"
|
||||
#include "utils/MPFRWrapper/MPFRUtils.h"
|
||||
#include "utils/UnitTest/Test.h"
|
||||
|
||||
#include <math.h>
|
||||
|
||||
namespace mpfr = __llvm_libc::testing::mpfr;
|
||||
|
||||
template <typename T>
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
#include "src/fenv/feclearexcept.h"
|
||||
#include "src/fenv/feraiseexcept.h"
|
||||
#include "src/fenv/fetestexcept.h"
|
||||
#include "utils/CPP/TypeTraits.h"
|
||||
#include "utils/FPUtil/FPBits.h"
|
||||
#include "utils/MPFRWrapper/MPFRUtils.h"
|
||||
#include "utils/UnitTest/Test.h"
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
#include "HypotTest.h"
|
||||
|
||||
#include "include/math.h"
|
||||
#include "src/math/hypot.h"
|
||||
|
||||
using HypotTest = HypotTestTemplate<double>;
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
#include "HypotTest.h"
|
||||
|
||||
#include "include/math.h"
|
||||
#include "src/math/hypotf.h"
|
||||
|
||||
using HypotfTest = HypotTestTemplate<float>;
|
||||
|
|
|
@ -8,14 +8,6 @@
|
|||
|
||||
#include "LdExpTest.h"
|
||||
|
||||
#include "include/math.h"
|
||||
#include "src/math/ldexp.h"
|
||||
#include "utils/CPP/Functional.h"
|
||||
#include "utils/FPUtil/FPBits.h"
|
||||
#include "utils/FPUtil/ManipulationFunctions.h"
|
||||
#include "utils/FPUtil/TestHelpers.h"
|
||||
#include "utils/UnitTest/Test.h"
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
LIST_LDEXP_TESTS(double, __llvm_libc::ldexp)
|
||||
|
|
|
@ -8,14 +8,6 @@
|
|||
|
||||
#include "LdExpTest.h"
|
||||
|
||||
#include "include/math.h"
|
||||
#include "src/math/ldexpf.h"
|
||||
#include "utils/CPP/Functional.h"
|
||||
#include "utils/FPUtil/FPBits.h"
|
||||
#include "utils/FPUtil/ManipulationFunctions.h"
|
||||
#include "utils/FPUtil/TestHelpers.h"
|
||||
#include "utils/UnitTest/Test.h"
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
LIST_LDEXP_TESTS(float, __llvm_libc::ldexpf)
|
||||
|
|
|
@ -8,14 +8,6 @@
|
|||
|
||||
#include "LdExpTest.h"
|
||||
|
||||
#include "include/math.h"
|
||||
#include "src/math/ldexpl.h"
|
||||
#include "utils/CPP/Functional.h"
|
||||
#include "utils/FPUtil/FPBits.h"
|
||||
#include "utils/FPUtil/ManipulationFunctions.h"
|
||||
#include "utils/FPUtil/TestHelpers.h"
|
||||
#include "utils/UnitTest/Test.h"
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
LIST_LDEXP_TESTS(long double, __llvm_libc::ldexpl)
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
#include "RoundToIntegerTest.h"
|
||||
|
||||
#include "include/math.h"
|
||||
#include "src/math/llround.h"
|
||||
|
||||
LIST_ROUND_TO_INTEGER_TESTS(double, long long, __llvm_libc::llround)
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
#include "RoundToIntegerTest.h"
|
||||
|
||||
#include "include/math.h"
|
||||
#include "src/math/llroundf.h"
|
||||
|
||||
LIST_ROUND_TO_INTEGER_TESTS(float, long long, __llvm_libc::llroundf)
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
#include "RoundToIntegerTest.h"
|
||||
|
||||
#include "include/math.h"
|
||||
#include "src/math/llroundl.h"
|
||||
|
||||
LIST_ROUND_TO_INTEGER_TESTS(long double, long long, __llvm_libc::llroundl)
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
#include "RoundToIntegerTest.h"
|
||||
|
||||
#include "include/math.h"
|
||||
#include "src/math/lround.h"
|
||||
|
||||
LIST_ROUND_TO_INTEGER_TESTS(double, long, __llvm_libc::lround)
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
#include "RoundToIntegerTest.h"
|
||||
|
||||
#include "include/math.h"
|
||||
#include "src/math/lroundf.h"
|
||||
|
||||
LIST_ROUND_TO_INTEGER_TESTS(float, long, __llvm_libc::lroundf)
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
#include "RoundToIntegerTest.h"
|
||||
|
||||
#include "include/math.h"
|
||||
#include "src/math/lroundl.h"
|
||||
|
||||
LIST_ROUND_TO_INTEGER_TESTS(long double, long, __llvm_libc::lroundl)
|
||||
|
|
|
@ -6,10 +6,11 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "include/math.h"
|
||||
#include "utils/FPUtil/FPBits.h"
|
||||
#include "utils/UnitTest/Test.h"
|
||||
|
||||
#include <math.h>
|
||||
|
||||
using FPBits = __llvm_libc::fputil::FPBits<long double>;
|
||||
|
||||
TEST(X86LongDoubleTest, isNaN) {
|
||||
|
|
|
@ -13,10 +13,10 @@
|
|||
#include "NearestIntegerOperations.h"
|
||||
#include "NormalFloat.h"
|
||||
|
||||
#include "include/math.h"
|
||||
#include "utils/CPP/TypeTraits.h"
|
||||
|
||||
#include <limits.h>
|
||||
#include <math.h>
|
||||
|
||||
namespace __llvm_libc {
|
||||
namespace fputil {
|
||||
|
|
Loading…
Reference in New Issue