Searched refs:MakeClampedNum (Results 1 – 3 of 3) sorted by relevance
221 MakeClampedNum(-DstLimits::max()).Abs()); in TestSpecializedArithmetic()293 MakeClampedNum(DstLimits::lowest()).UnsignedAbs()); in TestSpecializedArithmetic()295 MakeClampedNum(DstLimits::max()).UnsignedAbs()); in TestSpecializedArithmetic()421 MakeClampedNum(DstLimits::lowest()).UnsignedAbs()); in TestSpecializedArithmetic()423 MakeClampedNum(DstLimits::max()).UnsignedAbs()); in TestSpecializedArithmetic()517 MakeClampedNum(DstLimits::max()) & -1); in TestSpecializedArithmetic()666 TEST_EXPECTED_VALUE(0, -MakeClampedNum(value)); in TestArithmetic()668 TEST_EXPECTED_VALUE(-1, -MakeClampedNum(value)); in TestArithmetic()670 TEST_EXPECTED_VALUE(-2, -MakeClampedNum(value)); in TestArithmetic()672 TEST_EXPECTED_VALUE(1, -MakeClampedNum(value)); in TestArithmetic()[all …]
190 constexpr ClampedNumeric<typename UnderlyingType<T>::type> MakeClampedNum( in MakeClampedNum() function246 using internal::MakeClampedNum;
408 * `MakeClampedNum()` - Creates a new `ClampedNumeric` from the underlying type