/external/eigen/unsupported/Eigen/ |
D | MPRealSupport | 27 * via the <a href="http://www.holoborodko.com/pavel/mpfr">MPFR C++</a> 28 …* library which itself is built upon <a href="http://www.mpfr.org/">MPFR</a>/<a href="http://gmpli… 40 using namespace mpfr; 62 template<> struct NumTraits<mpfr::mpreal> 63 : GenericNumTraits<mpfr::mpreal> 75 typedef mpfr::mpreal Real; 76 typedef mpfr::mpreal NonInteger; 78 …static inline Real highest (long Precision = mpfr::mpreal::get_default_prec()) { return mpfr::ma… 79 …static inline Real lowest (long Precision = mpfr::mpreal::get_default_prec()) { return -mpfr::ma… 82 …static inline Real Pi (long Precision = mpfr::mpreal::get_default_prec()) { return mpfr::con… [all …]
|
/external/llvm-project/libc/test/src/math/ |
D | exp2f_test.cpp | 29 namespace mpfr = __llvm_libc::testing::mpfr; 91 EXPECT_MPFR_MATCH(mpfr::Operation::Exp2, x, __llvm_libc::exp2f(x), 1.0); in TEST() 95 EXPECT_MPFR_MATCH(mpfr::Operation::Exp2, x, __llvm_libc::exp2f(x), 1.0); in TEST() 99 EXPECT_MPFR_MATCH(mpfr::Operation::Exp2, x, __llvm_libc::exp2f(x), 1.0); in TEST() 103 EXPECT_MPFR_MATCH(mpfr::Operation::Exp2, x, __llvm_libc::exp2f(x), 1.0); in TEST() 107 EXPECT_MPFR_MATCH(mpfr::Operation::Exp2, x, __llvm_libc::exp2f(x), 1.0); in TEST() 111 EXPECT_MPFR_MATCH(mpfr::Operation::Exp2, x, __llvm_libc::exp2f(x), 1.0); in TEST() 123 EXPECT_MPFR_MATCH(mpfr::Operation::Exp2, x, __llvm_libc::exp2f(x), 1.0); in TEST() 128 EXPECT_MPFR_MATCH(mpfr::Operation::Exp2, x, __llvm_libc::exp2f(x), 1.0); in TEST() 148 ASSERT_MPFR_MATCH(mpfr::Operation::Exp2, x, __llvm_libc::exp2f(x), 1.0); in TEST()
|
D | sincosf_test.cpp | 33 namespace mpfr = __llvm_libc::testing::mpfr; 94 ASSERT_MPFR_MATCH(mpfr::Operation::Cos, x, cos, 1.0); in TEST() 95 ASSERT_MPFR_MATCH(mpfr::Operation::Sin, x, sin, 1.0); in TEST() 105 EXPECT_MPFR_MATCH(mpfr::Operation::Cos, x, result_cos, 1.0); in TEST() 106 EXPECT_MPFR_MATCH(mpfr::Operation::Sin, x, result_sin, 1.0); in TEST() 113 EXPECT_MPFR_MATCH(mpfr::Operation::Cos, x, result_cos, 1.0); in TEST() 114 EXPECT_MPFR_MATCH(mpfr::Operation::Sin, x, result_sin, 1.0); in TEST() 126 EXPECT_MPFR_MATCH(mpfr::Operation::Cos, x, cos, 1.0); in TEST() 127 EXPECT_MPFR_MATCH(mpfr::Operation::Sin, x, sin, 1.0); in TEST()
|
D | sinf_test.cpp | 33 namespace mpfr = __llvm_libc::testing::mpfr; 79 ASSERT_MPFR_MATCH(mpfr::Operation::Sin, x, __llvm_libc::sinf(x), 1.0); in TEST() 85 EXPECT_MPFR_MATCH(mpfr::Operation::Sin, x, __llvm_libc::sinf(x), 1.0); in TEST() 93 EXPECT_MPFR_MATCH(mpfr::Operation::Sin, x, result, 1.0); in TEST() 99 EXPECT_MPFR_MATCH(mpfr::Operation::Sin, x, result, 1.0); in TEST() 108 EXPECT_MPFR_MATCH(mpfr::Operation::Sin, x, __llvm_libc::sinf(x), 1.0); in TEST()
|
D | cosf_test.cpp | 33 namespace mpfr = __llvm_libc::testing::mpfr; 79 ASSERT_MPFR_MATCH(mpfr::Operation::Cos, x, __llvm_libc::cosf(x), 1.0); in TEST() 87 EXPECT_MPFR_MATCH(mpfr::Operation::Cos, x, result, 1.0); in TEST() 92 EXPECT_MPFR_MATCH(mpfr::Operation::Cos, x, result, 1.0); in TEST() 101 ASSERT_MPFR_MATCH(mpfr::Operation::Cos, x, __llvm_libc::cosf(x), 1.0); in TEST()
|
D | expf_test.cpp | 29 namespace mpfr = __llvm_libc::testing::mpfr; 108 ASSERT_MPFR_MATCH(mpfr::Operation::Exp, x, __llvm_libc::expf(x), 1.0); in TEST() 112 ASSERT_MPFR_MATCH(mpfr::Operation::Exp, x, __llvm_libc::expf(x), 1.0); in TEST() 116 ASSERT_MPFR_MATCH(mpfr::Operation::Exp, x, __llvm_libc::expf(x), 1.0); in TEST() 120 ASSERT_MPFR_MATCH(mpfr::Operation::Exp, x, __llvm_libc::expf(x), 1.0); in TEST() 140 ASSERT_MPFR_MATCH(mpfr::Operation::Exp, x, __llvm_libc::expf(x), 1.0); in TEST()
|
D | RemQuoTest.h | 19 namespace mpfr = __llvm_libc::testing::mpfr; variable 105 mpfr::BinaryOutput<T> result; in testSubnormalRange() 106 mpfr::BinaryInput<T> input{x, y}; in testSubnormalRange() 108 ASSERT_MPFR_MATCH(mpfr::Operation::RemQuo, input, result, 0.0); in testSubnormalRange() 119 mpfr::BinaryOutput<T> result; in testNormalRange() 120 mpfr::BinaryInput<T> input{x, y}; in testNormalRange() 130 ASSERT_MPFR_MATCH(mpfr::Operation::RemQuo, input, result, 0.0); in testNormalRange()
|
D | sqrtl_test.cpp | 18 namespace mpfr = __llvm_libc::testing::mpfr; 42 ASSERT_MPFR_MATCH(mpfr::Operation::Sqrt, static_cast<long double>(denormal), in TEST() 50 ASSERT_MPFR_MATCH(mpfr::Operation::Sqrt, x, __llvm_libc::sqrtl(x), 0.5); in TEST() 63 ASSERT_MPFR_MATCH(mpfr::Operation::Sqrt, x, __llvm_libc::sqrtl(x), 0.5); in TEST()
|
D | sqrtf_test.cpp | 18 namespace mpfr = __llvm_libc::testing::mpfr; 42 ASSERT_MPFR_MATCH(mpfr::Operation::Sqrt, float(denormal), in TEST() 50 ASSERT_MPFR_MATCH(mpfr::Operation::Sqrt, x, __llvm_libc::sqrtf(x), 0.5); in TEST() 63 ASSERT_MPFR_MATCH(mpfr::Operation::Sqrt, x, __llvm_libc::sqrtf(x), 0.5); in TEST()
|
D | sqrt_test.cpp | 18 namespace mpfr = __llvm_libc::testing::mpfr; 42 ASSERT_MPFR_MATCH(mpfr::Operation::Sqrt, double(denormal), in TEST() 50 ASSERT_MPFR_MATCH(mpfr::Operation::Sqrt, x, __llvm_libc::sqrt(x), 0.5); in TEST() 63 ASSERT_MPFR_MATCH(mpfr::Operation::Sqrt, x, __llvm_libc::sqrt(x), 0.5); in TEST()
|
D | HypotTest.h | 19 namespace mpfr = __llvm_libc::testing::mpfr; variable 56 mpfr::BinaryInput<T> input{x, y}; in testSubnormalRange() 57 ASSERT_MPFR_MATCH(mpfr::Operation::Hypot, input, result, 0.5); in testSubnormalRange() 69 mpfr::BinaryInput<T> input{x, y}; in testNormalRange() 70 ASSERT_MPFR_MATCH(mpfr::Operation::Hypot, input, result, 0.5); in testNormalRange()
|
D | fabs_test.cpp | 20 namespace mpfr = __llvm_libc::testing::mpfr; 40 ASSERT_MPFR_MATCH(mpfr::Operation::Abs, x, __llvm_libc::fabs(x), 0.0); in TEST()
|
D | fabsf_test.cpp | 20 namespace mpfr = __llvm_libc::testing::mpfr; 40 ASSERT_MPFR_MATCH(mpfr::Operation::Abs, x, __llvm_libc::fabsf(x), 0.0); in TEST()
|
D | fabsl_test.cpp | 20 namespace mpfr = __llvm_libc::testing::mpfr; 40 ASSERT_MPFR_MATCH(mpfr::Operation::Abs, x, __llvm_libc::fabsl(x), 0.0); in TEST()
|
D | frexpl_test.cpp | 18 namespace mpfr = __llvm_libc::testing::mpfr; 100 mpfr::BinaryOutput<long double> result; in TEST() 105 ASSERT_MPFR_MATCH(mpfr::Operation::Frexp, x, result, 0.0); in TEST()
|
D | floor_test.cpp | 20 namespace mpfr = __llvm_libc::testing::mpfr; 74 ASSERT_MPFR_MATCH(mpfr::Operation::Floor, x, __llvm_libc::floor(x), 0.0); in TEST()
|
D | ceil_test.cpp | 18 namespace mpfr = __llvm_libc::testing::mpfr; 74 ASSERT_MPFR_MATCH(mpfr::Operation::Ceil, x, __llvm_libc::ceil(x), 0.0); in TEST()
|
D | truncf_test.cpp | 18 namespace mpfr = __llvm_libc::testing::mpfr; 74 ASSERT_MPFR_MATCH(mpfr::Operation::Trunc, x, __llvm_libc::truncf(x), 0.0); in TEST()
|
D | round_test.cpp | 18 namespace mpfr = __llvm_libc::testing::mpfr; 74 ASSERT_MPFR_MATCH(mpfr::Operation::Round, x, __llvm_libc::round(x), 0.0); in TEST()
|
D | truncl_test.cpp | 18 namespace mpfr = __llvm_libc::testing::mpfr; 74 ASSERT_MPFR_MATCH(mpfr::Operation::Trunc, x, __llvm_libc::truncl(x), 0.0); in TEST()
|
D | roundl_test.cpp | 18 namespace mpfr = __llvm_libc::testing::mpfr; 74 ASSERT_MPFR_MATCH(mpfr::Operation::Round, x, __llvm_libc::roundl(x), 0.0); in TEST()
|
D | ceilf_test.cpp | 18 namespace mpfr = __llvm_libc::testing::mpfr; 74 ASSERT_MPFR_MATCH(mpfr::Operation::Ceil, x, __llvm_libc::ceilf(x), 0.0); in TEST()
|
D | trunc_test.cpp | 18 namespace mpfr = __llvm_libc::testing::mpfr; 74 ASSERT_MPFR_MATCH(mpfr::Operation::Trunc, x, __llvm_libc::trunc(x), 0.0); in TEST()
|
D | floorl_test.cpp | 20 namespace mpfr = __llvm_libc::testing::mpfr; 74 ASSERT_MPFR_MATCH(mpfr::Operation::Floor, x, __llvm_libc::floorl(x), 0.0); in TEST()
|
/external/eigen/cmake/ |
D | FindMPFR.cmake | 2 # See http://www.mpfr.org/ 24 mpfr.h 51 file(READ "${MPFR_INCLUDES}/mpfr.h" _mpfr_version_header) 76 find_library(MPFR_LIBRARIES mpfr PATHS $ENV{GMPDIR} ${LIB_INSTALL_DIR})
|