Searched refs:RawType (Results 1 – 8 of 8) sorted by relevance
249 template <typename RawType>254 typedef typename TypeWithSize<sizeof(RawType)>::UInt Bits;259 static const size_t kBitCount = 8*sizeof(RawType);263 std::numeric_limits<RawType>::digits - 1;298 explicit FloatingPoint(const RawType& x) { u_.value_ = x; } in FloatingPoint()305 static RawType ReinterpretBits(const Bits bits) { in ReinterpretBits()312 static RawType Infinity() { in Infinity()317 static RawType Max();358 RawType value_; // The raw floating-point number.
3241 template <typename RawType>3277 testing::internal::FloatingEqMatcher<RawType> (*matcher_maker)(RawType)) { in TestMatches() argument3314 RawType x = 0.0; in TestMatches()3334 const RawType close_to_one_;3338 const RawType infinity_;3343 const RawType max_;3346 const RawType nan1_;3347 const RawType nan2_;3351 template <typename RawType>3360 (*matcher_maker)(RawType, RawType)) { in TestNearMatches()[all …]
1698 template <typename RawType>1701 RawType lhs_value, in CmpHelperFloatingPointEQ()1702 RawType rhs_value) { in CmpHelperFloatingPointEQ()1703 const FloatingPoint<RawType> lhs(lhs_value), rhs(rhs_value); in CmpHelperFloatingPointEQ()1710 lhs_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()1714 rhs_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
43 const IPDBRawSymbol &RawType = SymbolType->getRawSymbol(); in getTypeLength() local45 return RawType.getLength(); in getTypeLength()
775 const Metadata *RawType = getRawType(); in getSizeInBits() local776 while (RawType) { in getSizeInBits()778 if (auto *T = dyn_cast<DIType>(RawType)) in getSizeInBits()782 if (auto *DT = dyn_cast<DIDerivedType>(RawType)) { in getSizeInBits()784 RawType = DT->getRawBaseType(); in getSizeInBits()
2689 template <typename RawType>2694 RawType close_to_positive_zero;2695 RawType close_to_negative_zero;2698 RawType close_to_one;2699 RawType further_from_one;2701 RawType infinity;2702 RawType close_to_infinity;2703 RawType further_from_infinity;2705 RawType nan1;2706 RawType nan2;[all …]
1433 template <typename RawType>1436 RawType val1, in FloatingPointLE()1437 RawType val2) { in FloatingPointLE()1444 const FloatingPoint<RawType> lhs(val1), rhs(val2); in FloatingPointLE()1454 val1_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in FloatingPointLE()1458 val2_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in FloatingPointLE()
893 const IPDBRawSymbol &RawType = SymbolType->getRawSymbol(); in getTypeLength() local895 return RawType.getLength(); in getTypeLength()