Searched refs:SatInt8 (Results 1 – 3 of 3) sorted by relevance
29 static_assert(IsPowerOf2(SatInt8(4)));35 static_assert(AlignUp<4>(SatInt8(6)) == SatInt8(8));41 static_assert(AlignDown<4>(SatInt8(6)) == SatInt8(4));50 static_assert(IsAligned<2>(SatInt8(6)));51 static_assert(!IsAligned<4>(SatInt8(6)));89 static_assert(Add(SatInt8{126}, SatInt8{1}) == std::tuple{SatInt8{127}, false});90 static_assert(Add(SatInt8{127}, SatInt8{1}) == std::tuple{SatInt8{127}, true});91 static_assert(SatInt8{127} + SatInt8{1} == SatInt8{127});99 static_assert(Sub(SatInt8{-127}, SatInt8{1}) == std::tuple{SatInt8{-128}, false});100 static_assert(Sub(SatInt8{-128}, SatInt8{1}) == std::tuple{SatInt8{-128}, true});[all …]
309 SIMD_128_SAFEINT_REGISTER_GETTER_SETTER(SatInt8, int8);
732 using SatInt8 = Saturating<int8_t>; variable