Skip to content

Commit

Permalink
Add in the large component first.
Browse files Browse the repository at this point in the history
  • Loading branch information
rhettinger committed Jan 7, 2023
1 parent 5d165be commit 2e772cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Modules/mathmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -2903,8 +2903,8 @@ static inline DoubleLength
dl_fma(DoubleLength total, double p, double q)
{
DoubleLength product = dl_mul(p, q);
total = dl_add(total, product.lo);
return dl_add(total, product.hi);
total = dl_add(total, product.hi);
return dl_add(total, product.lo);
}

static inline double
Expand Down

0 comments on commit 2e772cb

Please sign in to comment.