This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-numbers.git
The following commit(s) were added to refs/heads/master by this push:
new 67478952 Fix checkstyle
67478952 is described below
commit 67478952e6de7779b013ef19116056187eb13723
Author: Alex Herbert <[email protected]>
AuthorDate: Wed Nov 18 17:26:46 2026 +0000
Fix checkstyle
---
.../src/main/java/org/apache/commons/numbers/core/DD.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git
a/commons-numbers-core/src/main/java/org/apache/commons/numbers/core/DD.java
b/commons-numbers-core/src/main/java/org/apache/commons/numbers/core/DD.java
index 43242ce0..c5da397f 100644
--- a/commons-numbers-core/src/main/java/org/apache/commons/numbers/core/DD.java
+++ b/commons-numbers-core/src/main/java/org/apache/commons/numbers/core/DD.java
@@ -2057,7 +2057,7 @@ public final class DD
u = f0 * f0;
v = twoSquareLow(f0, u);
// Inline fastTwoSum(u, v + (2 * f0 * f1)) -> (f0, f1)
- v += (2 * f0 * f1);
+ v += 2 * f0 * f1;
f0 = u + v;
f1 = fastTwoSumLow(u, v, f0);
if (bits < 0) {
@@ -2065,7 +2065,7 @@ public final class DD
u = f0 * x;
v = twoProductLow(f0, xh, xl, u);
// Inline fastTwoSum(u, v + (f0 * xx + f1 * x)) -> (f0, f1)
- v += (f0 * xx + f1 * x);
+ v += f0 * xx + f1 * x;
f0 = u + v;
f1 = fastTwoSumLow(u, v, f0);
}
@@ -2204,7 +2204,7 @@ public final class DD
u = f0 * f0;
v = twoSquareLow(f0, u);
// Inline fastTwoSum(u, v + (2 * f0 * f1)) -> (f0, f1)
- v += (2 * f0 * f1);
+ v += 2 * f0 * f1;
f0 = u + v;
f1 = fastTwoSumLow(u, v, f0);
// Rescale
@@ -2224,7 +2224,7 @@ public final class DD
u = f0 * b0;
v = twoProductLow(f0, b0h, b0l, u);
// Inline fastTwoSum(u, v + (f0 * b1 + f1 * b0)) -> (f0, f1)
- v += (f0 * b1 + f1 * b0);
+ v += f0 * b1 + f1 * b0;
f0 = u + v;
f1 = fastTwoSumLow(u, v, f0);
// Avoid rescale as x2 is in [1, 2)