Searched refs:SignedType (Results 1 – 3 of 3) sorted by relevance
175 using SignedType = typename std::make_signed<T>::type; in ZigZagDecode() local177 auto mask = static_cast<UnsignedType>(-static_cast<SignedType>(u_value & 1)); in ZigZagDecode()178 return static_cast<SignedType>((u_value >> 1) ^ mask); in ZigZagDecode()
98 using SignedType = typename std::make_signed<T>::type; in GetSignedBits() local104 return static_cast<SignedType>(v << (kNumBits - 1 - hi)) >> in GetSignedBits()