Searched refs:UnsignedAbs (Results 1 – 8 of 8) sorted by relevance
271 MakeCheckedNum(DstLimits::lowest()).UnsignedAbs()); in TestSpecializedArithmetic()273 MakeCheckedNum(DstLimits::max()).UnsignedAbs()); in TestSpecializedArithmetic()274 TEST_EXPECTED_VALUE(0, CheckedNumeric<Dst>(0).UnsignedAbs()); in TestSpecializedArithmetic()275 TEST_EXPECTED_VALUE(1, CheckedNumeric<Dst>(1).UnsignedAbs()); in TestSpecializedArithmetic()276 TEST_EXPECTED_VALUE(1, CheckedNumeric<Dst>(-1).UnsignedAbs()); in TestSpecializedArithmetic()293 MakeClampedNum(DstLimits::lowest()).UnsignedAbs()); in TestSpecializedArithmetic()295 MakeClampedNum(DstLimits::max()).UnsignedAbs()); in TestSpecializedArithmetic()296 TEST_EXPECTED_VALUE(0, ClampedNumeric<Dst>(0).UnsignedAbs()); in TestSpecializedArithmetic()297 TEST_EXPECTED_VALUE(1, ClampedNumeric<Dst>(1).UnsignedAbs()); in TestSpecializedArithmetic()298 TEST_EXPECTED_VALUE(1, ClampedNumeric<Dst>(-1).UnsignedAbs()); in TestSpecializedArithmetic()[all …]
179 CheckedNumeric<typename UnsignedOrFloatForSize<T>::type> UnsignedAbs() const in UnsignedAbs() function
137 TEST_EXPECTED_SUCCESS(CheckedNumeric<Dst>(DstLimits::min()).UnsignedAbs()); in TestSpecializedArithmetic()140 .UnsignedAbs()); in TestSpecializedArithmetic()
116 UnsignedAbs() const { in UnsignedAbs() function
198 UnsignedAbs() const { in UnsignedAbs() function
237 * `UnsignedAbs()` - Absolute value as an equal-width unsigned underlying type367 * `UnsignedAbs()` - Absolute value as an equal-width unsigned underlying type
40 CheckedNumeric<INT>(value).UnsignedAbs().ValueOrDie(); in IntToString()
264 UnsignedAbs() const { in UnsignedAbs() function