This is an automated email from the ASF dual-hosted git repository. aherbert 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 eb2f89c6 Correct comment eb2f89c6 is described below commit eb2f89c68775816adbe0de6440ee9aab3c901063 Author: Alex Herbert <aherb...@apache.org> AuthorDate: Tue Dec 12 14:04:04 2023 +0000 Correct comment --- .../src/main/java/org/apache/commons/numbers/core/DD.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 7928197e..89b17e94 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 @@ -1204,7 +1204,7 @@ public final class DD // (s0, s1) = x + y final double s0 = x + y; final double s1 = twoSumLow(x, y, s0); - // Note: if x + y cancel to a non-zero result then s.x is >= 1 ulp of x. + // Note: if x + y cancel to a non-zero result then s0 is >= 1 ulp of x. // This is larger than xx so fast-two-sum can be used. return fastTwoSum(s0, s1 + xx); }