Lines Matching refs:sum
77 struct dd sum; in add_adjusted() local
80 sum = dd_add(a, b); in add_adjusted()
81 if (sum.lo != 0) { in add_adjusted()
82 EXTRACT_WORD64(hibits, sum.hi); in add_adjusted()
85 EXTRACT_WORD64(lobits, sum.lo); in add_adjusted()
87 INSERT_WORD64(sum.hi, hibits); in add_adjusted()
90 return (sum.hi); in add_adjusted()
101 struct dd sum; in add_and_denormalize() local
105 sum = dd_add(a, b); in add_and_denormalize()
117 if (sum.lo != 0) { in add_and_denormalize()
118 EXTRACT_WORD64(hibits, sum.hi); in add_and_denormalize()
122 EXTRACT_WORD64(lobits, sum.lo); in add_and_denormalize()
124 INSERT_WORD64(sum.hi, hibits); in add_and_denormalize()
127 return (ldexp(sum.hi, scale)); in add_and_denormalize()