Skip to content

Commit 2b07fde

Browse files
committed
Use core_math for mul_add op
1 parent 6ff7ce5 commit 2b07fde

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/primitive.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ impl DoubleDouble {
248248
pub(crate) fn mul(a: f64, b: f64) -> Self {
249249
// Mul
250250
let product = a * b;
251-
let error = a.mul_add(b, -product);
251+
let error = core_maths::CoreFloat::mul_add(a, b, -product);
252252
Self {
253253
hi: product,
254254
lo: error,

0 commit comments

Comments
 (0)