Searched refs:refvalue (Results 1 – 1 of 1) sorted by relevance
/external/eigen/test/ |
D | packetmath.cpp | 33 bool isApproxAbs(const Scalar& a, const Scalar& b, const typename NumTraits<Scalar>::Real& refvalue) in isApproxAbs() argument 35 return internal::isMuchSmallerThan(a-b, refvalue); in isApproxAbs() 38 …oxAbs(const Scalar* a, const Scalar* b, int size, const typename NumTraits<Scalar>::Real& refvalue) in areApproxAbs() argument 42 if (!isApproxAbs(a[i],b[i],refvalue)) in areApproxAbs() 126 RealScalar refvalue = 0; in packetmath() local 131 refvalue = (std::max)(refvalue,abs(data1[i])); in packetmath() 248 …VERIFY(isApproxAbs(ref[0], internal::predux(internal::pload<Packet>(data1)), refvalue) && "interna… in packetmath() 272 VERIFY(areApproxAbs(ref, data2, PacketSize, refvalue) && "internal::preduxp"); in packetmath() 287 VERIFY(isApproxAbs(data2[j], data1[i+j*PacketSize], refvalue) && "ptranspose"); in packetmath() 303 VERIFY(isApproxAbs(result[i], (selector.select[i] ? data1[i] : data2[i]), refvalue)); in packetmath() [all …]
|