You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// We need to convert minLargestInt into a positive number. The easiest way
1537
1538
// to do this conversion is to assume our "threshold" value of minLargestInt
1538
1539
// divided by 10 can fit in maxLargestInt when absolute valued. This should
1539
1540
// be a safe assumption.
1540
-
static_assert(Value::minLargestInt <= -Value::maxLargestInt, "The absolute value of minLargestInt must be greater than or equal to maxLargestInt");
1541
-
static_assert(Value::minLargestInt / 10 >= -Value::maxLargestInt, "The absolute value of minLargestInt must be only 1 magnitude larger than maxLargest Int");
0 commit comments