Skip to content

Commit d274325

Browse files
committed
Add the smaller magnitude component first.
1 parent a07e03d commit d274325

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modules/mathmodule.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2900,8 +2900,8 @@ static inline DoubleLength
29002900
dl_fma(DoubleLength total, double p, double q)
29012901
{
29022902
DoubleLength product = dl_mul(p, q);
2903-
total = dl_add(total, product.hi);
2904-
return dl_add(total, product.lo);
2903+
total = dl_add(total, product.lo);
2904+
return dl_add(total, product.hi);
29052905
}
29062906

29072907
static inline double

0 commit comments

Comments
 (0)