#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>
#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"
#include "HypotTest.h"
-#include "include/math.h"
#include "src/math/hypot.h"
using HypotTest = HypotTestTemplate<double>;
#include "HypotTest.h"
-#include "include/math.h"
#include "src/math/hypotf.h"
using HypotfTest = HypotTestTemplate<float>;
#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)
#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)
#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)
#include "RoundToIntegerTest.h"
-#include "include/math.h"
#include "src/math/llround.h"
LIST_ROUND_TO_INTEGER_TESTS(double, long long, __llvm_libc::llround)
#include "RoundToIntegerTest.h"
-#include "include/math.h"
#include "src/math/llroundf.h"
LIST_ROUND_TO_INTEGER_TESTS(float, long long, __llvm_libc::llroundf)
#include "RoundToIntegerTest.h"
-#include "include/math.h"
#include "src/math/llroundl.h"
LIST_ROUND_TO_INTEGER_TESTS(long double, long long, __llvm_libc::llroundl)
#include "RoundToIntegerTest.h"
-#include "include/math.h"
#include "src/math/lround.h"
LIST_ROUND_TO_INTEGER_TESTS(double, long, __llvm_libc::lround)
#include "RoundToIntegerTest.h"
-#include "include/math.h"
#include "src/math/lroundf.h"
LIST_ROUND_TO_INTEGER_TESTS(float, long, __llvm_libc::lroundf)
#include "RoundToIntegerTest.h"
-#include "include/math.h"
#include "src/math/lroundl.h"
LIST_ROUND_TO_INTEGER_TESTS(long double, long, __llvm_libc::lroundl)
//
//===----------------------------------------------------------------------===//
-#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) {
#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 {