13 #include "../Eigen/SpecialFunctions"
18 typedef internal::packet_traits<Scalar> PacketTraits;
21 const int size = PacketSize*4;
26 #if EIGEN_HAS_C99_MATH
28 data1[0] = std::numeric_limits<Scalar>::quiet_NaN();
29 test::packet_helper<internal::packet_traits<Scalar>::HasLGamma,
Packet>
h;
33 if (internal::packet_traits<Scalar>::HasErf) {
34 data1[0] = std::numeric_limits<Scalar>::quiet_NaN();
35 test::packet_helper<internal::packet_traits<Scalar>::HasErf,
Packet>
h;
40 data1[0] = std::numeric_limits<Scalar>::quiet_NaN();
41 test::packet_helper<internal::packet_traits<Scalar>::HasErfc,
Packet>
h;
51 #endif // EIGEN_HAS_C99_MATH
55 const int max_exponent =
numext::mini(std::numeric_limits<Scalar>::max_exponent10-1, 6);
83 const int max_exponent =
numext::mini(std::numeric_limits<Scalar>::max_exponent10-1, 5);
101 data1[
i] = internal::random<Scalar>(
Scalar(0.01),
Scalar(1)) *
103 data2[
i] = internal::random<Scalar>(
Scalar(0.01),
Scalar(1)) *
111 data1[
i] = internal::random<Scalar>(
Scalar(0.01),
Scalar(1)) *
113 data2[
i] = internal::random<Scalar>(
Scalar(0.01),
Scalar(1)) *
117 #if EIGEN_HAS_C99_MATH && (EIGEN_COMP_CXXVER >= 11)
128 template<
typename Scalar,
typename PacketType,
bool IsComplex,
bool IsInteger>
131 packetmath_real<Scalar,PacketType>();