Lines Matching refs:isNegative
35 bool isNegative{IsNegative()}; in Compare() local
36 if (isNegative != y.IsNegative()) { in Compare()
40 return isNegative ? Relation::Less : Relation::Greater; in Compare()
48 if (isNegative) { in Compare()
67 bool isNegative{IsNegative()}; in Add() local
71 if (isNegative == yIsNegative) { in Add()
92 if (exponent == yExponent && isNegative != yIsNegative) { in Add()
118 if (isNegative != yIsNegative) { in Add()
126 if (isNegative == yIsNegative && sum.carry) { in Add()
132 result, isNegative, exponent, fraction, rounding, roundingBits); in Add()
146 bool isNegative{IsNegative() != y.IsNegative()}; in Multiply() local
152 result.value = Infinity(isNegative); in Multiply()
189 NormalizeAndRound(result, isNegative, exponent, product.upper, rounding, in Multiply()
206 bool isNegative{IsNegative() != y.IsNegative()}; in Divide() local
212 result.value = Infinity(isNegative); in Divide()
219 result.value = Infinity(isNegative); in Divide()
223 if (isNegative) { in Divide()
258 result, isNegative, exponent, quotient, rounding, roundingBits); in Divide()
338 bool isNegative{IsNegative()}; in NEAREST() local
339 if (upward != isNegative) { // upward in magnitude in NEAREST()
350 isNegative = !isNegative; in NEAREST()
361 result.flags = result.value.Normalize(isNegative, expo, nearest); in NEAREST()
594 bool isNegative, int exponent, const Fraction &fraction, Rounding rounding, in NormalizeAndRound() argument
597 isNegative, exponent, fraction, rounding, &roundingBits); in NormalizeAndRound()