Lines Matching defs:sum
198 // Return true if the sum of this plus addend would be greater than 1.
204 // First, sum the units. If the result is greater than one, return true.
206 uint32_t sum = m_values[0] + addend.m_values[0];
207 if (sum)
208 return sum > 1 || std::max(m_values.size(), addend.m_values.size()) > 1;
219 sum = fromThis + fromAddend;
223 if (sum < fromThis)
224 return sum || (index + 1) < std::max(m_values.size(), addend.m_values.size());
226 // If the sum is uint32_t max, then we would carry a 1 if addition of the next
228 if (sum != 0xFFFFFFFF)
252 // The total value of the number is the sum of (m_values[i] / pow(2^32, i)), for each i