Lines Matching refs:sum
79 struct dd sum; in add_adjusted() local
82 sum = dd_add(a, b); in add_adjusted()
83 if (sum.lo != 0) { in add_adjusted()
84 u.e = sum.hi; in add_adjusted()
86 sum.hi = nextafterl(sum.hi, INFINITY * sum.lo); in add_adjusted()
88 return (sum.hi); in add_adjusted()
99 struct dd sum; in add_and_denormalize() local
103 sum = dd_add(a, b); in add_and_denormalize()
115 if (sum.lo != 0) { in add_and_denormalize()
116 u.e = sum.hi; in add_and_denormalize()
119 sum.hi = nextafterl(sum.hi, INFINITY * sum.lo); in add_and_denormalize()
121 return (ldexp(sum.hi, scale)); in add_and_denormalize()