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 EXTRACT_WORD64(hibits, sum.hi); in add_adjusted()
87 EXTRACT_WORD64(lobits, sum.lo); in add_adjusted()
89 INSERT_WORD64(sum.hi, hibits); in add_adjusted()
92 return (sum.hi); in add_adjusted()
103 struct dd sum; in add_and_denormalize() local
107 sum = dd_add(a, b); in add_and_denormalize()
119 if (sum.lo != 0) { in add_and_denormalize()
120 EXTRACT_WORD64(hibits, sum.hi); in add_and_denormalize()
124 EXTRACT_WORD64(lobits, sum.lo); in add_and_denormalize()
126 INSERT_WORD64(sum.hi, hibits); in add_and_denormalize()
129 return (ldexp(sum.hi, scale)); in add_and_denormalize()