Searched refs:UnsignedDst (Results 1 – 3 of 3) sorted by relevance
28 using UnsignedDst = typename std::make_unsigned<T>::type; in CheckedAddImpl() local30 UnsignedDst ux = static_cast<UnsignedDst>(x); in CheckedAddImpl()31 UnsignedDst uy = static_cast<UnsignedDst>(y); in CheckedAddImpl()32 UnsignedDst uresult = static_cast<UnsignedDst>(ux + uy); in CheckedAddImpl()88 using UnsignedDst = typename std::make_unsigned<T>::type;90 UnsignedDst ux = static_cast<UnsignedDst>(x);91 UnsignedDst uy = static_cast<UnsignedDst>(y);92 UnsignedDst uresult = static_cast<UnsignedDst>(ux - uy);148 using UnsignedDst = typename std::make_unsigned<T>::type;150 const UnsignedDst ux = SafeUnsignedAbs(x);[all …]
33 using UnsignedDst = typename std::make_unsigned<T>::type; in CheckedAddImpl() local35 const UnsignedDst ux = static_cast<UnsignedDst>(x); in CheckedAddImpl()36 const UnsignedDst uy = static_cast<UnsignedDst>(y); in CheckedAddImpl()37 const UnsignedDst uresult = static_cast<UnsignedDst>(ux + uy); in CheckedAddImpl()103 using UnsignedDst = typename std::make_unsigned<T>::type;105 const UnsignedDst ux = static_cast<UnsignedDst>(x);106 const UnsignedDst uy = static_cast<UnsignedDst>(y);107 const UnsignedDst uresult = static_cast<UnsignedDst>(ux - uy);172 using UnsignedDst = typename std::make_unsigned<T>::type;174 const UnsignedDst ux = SafeUnsignedAbs(x);[all …]
161 typedef typename UnsignedIntegerForSize<T>::type UnsignedDst;162 UnsignedDst ux = static_cast<UnsignedDst>(x);163 UnsignedDst uy = static_cast<UnsignedDst>(y);164 UnsignedDst uresult = static_cast<UnsignedDst>(ux + uy);169 if (HasSignBit(BinaryComplement(static_cast<UnsignedDst>((uresult ^ ux) & (uresult ^ uy)))))191 typedef typename UnsignedIntegerForSize<T>::type UnsignedDst;192 UnsignedDst ux = static_cast<UnsignedDst>(x);193 UnsignedDst uy = static_cast<UnsignedDst>(y);194 UnsignedDst uresult = static_cast<UnsignedDst>(ux - uy);199 if (HasSignBit(BinaryComplement(static_cast<UnsignedDst>((uresult ^ ux) & (ux ^ uy)))))