Lines Matching refs:sum
86 struct dd sum; in add_adjusted() local
89 sum = dd_add(a, b); in add_adjusted()
90 if (sum.lo != 0) { in add_adjusted()
91 EXTRACT_WORD64(hibits, sum.hi); in add_adjusted()
94 EXTRACT_WORD64(lobits, sum.lo); in add_adjusted()
96 INSERT_WORD64(sum.hi, hibits); in add_adjusted()
99 return (sum.hi); in add_adjusted()
110 struct dd sum; in add_and_denormalize() local
114 sum = dd_add(a, b); in add_and_denormalize()
126 if (sum.lo != 0) { in add_and_denormalize()
127 EXTRACT_WORD64(hibits, sum.hi); in add_and_denormalize()
131 EXTRACT_WORD64(lobits, sum.lo); in add_and_denormalize()
133 INSERT_WORD64(sum.hi, hibits); in add_and_denormalize()
136 return (ldexp(sum.hi, scale)); in add_and_denormalize()