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 30078a23 Correct private javadoc errors
30078a23 is described below
commit 30078a2322ce4a958edbb509c60cc191669ac6e3
Author: Alex Herbert <[email protected]>
AuthorDate: Sun Sep 20 15:10:03 2026 +0100
Correct private javadoc errors
---
.../java/org/apache/commons/numbers/arrays/KeyUpdatingInterval.java | 4 ++--
.../src/main/java/org/apache/commons/numbers/complex/Complex.java | 6 +++---
.../src/main/java/org/apache/commons/numbers/core/DDMath.java | 3 ++-
.../src/main/java/org/apache/commons/numbers/field/FP64.java | 1 +
.../src/main/java/org/apache/commons/numbers/gamma/BoostTools.java | 4 ++--
5 files changed, 10 insertions(+), 8 deletions(-)
diff --git
a/commons-numbers-arrays/src/main/java/org/apache/commons/numbers/arrays/KeyUpdatingInterval.java
b/commons-numbers-arrays/src/main/java/org/apache/commons/numbers/arrays/KeyUpdatingInterval.java
index 8d670b73..8d42b95a 100644
---
a/commons-numbers-arrays/src/main/java/org/apache/commons/numbers/arrays/KeyUpdatingInterval.java
+++
b/commons-numbers-arrays/src/main/java/org/apache/commons/numbers/arrays/KeyUpdatingInterval.java
@@ -132,9 +132,9 @@ final class KeyUpdatingInterval implements UpdatingInterval
{
/**
* Search the data for the largest index {@code i} where {@code a[i]} is
* less-than-or-equal to the {@code key}; else return {@code left - 1}.
- * <pre>
+ * <pre>{@code
* a[i] <= k : left <= i <= right, or (left - 1)
- * </pre>
+ * }</pre>
*
* <p>The data is assumed to be in ascending order, otherwise the
behaviour is undefined.
* If the range contains multiple elements with the {@code key} value, the
result index
diff --git
a/commons-numbers-complex/src/main/java/org/apache/commons/numbers/complex/Complex.java
b/commons-numbers-complex/src/main/java/org/apache/commons/numbers/complex/Complex.java
index 5c7edbcc..ba7fa376 100644
---
a/commons-numbers-complex/src/main/java/org/apache/commons/numbers/complex/Complex.java
+++
b/commons-numbers-complex/src/main/java/org/apache/commons/numbers/complex/Complex.java
@@ -2216,7 +2216,7 @@ public final class Complex implements Serializable {
* Returns the hyperbolic sine of the complex number.
*
* <p>This function exists to allow implementation of the identity
- * {@code sin(z) = -i sinh(iz)}.<p>
+ * {@code sin(z) = -i sinh(iz)}.</p>
*
* @param real Real part.
* @param imaginary Imaginary part.
@@ -2297,7 +2297,7 @@ public final class Complex implements Serializable {
* Returns the hyperbolic cosine of the complex number.
*
* <p>This function exists to allow implementation of the identity
- * {@code cos(z) = cosh(iz)}.<p>
+ * {@code cos(z) = cosh(iz)}.</p>
*
* @param real Real part.
* @param imaginary Imaginary part.
@@ -2453,7 +2453,7 @@ public final class Complex implements Serializable {
* Returns the hyperbolic tangent of this complex number.
*
* <p>This function exists to allow implementation of the identity
- * {@code tan(z) = -i tanh(iz)}.<p>
+ * {@code tan(z) = -i tanh(iz)}.</p>
*
* @param real Real part.
* @param imaginary Imaginary part.
diff --git
a/commons-numbers-core/src/main/java/org/apache/commons/numbers/core/DDMath.java
b/commons-numbers-core/src/main/java/org/apache/commons/numbers/core/DDMath.java
index 135681ab..3d0425d1 100644
---
a/commons-numbers-core/src/main/java/org/apache/commons/numbers/core/DDMath.java
+++
b/commons-numbers-core/src/main/java/org/apache/commons/numbers/core/DDMath.java
@@ -331,7 +331,8 @@ public final class DDMath {
* Compute the inverse of {@code (y, yy, yyy)}.
* If {@code y = 0} the result is undefined.
*
- * <p>This is special routine used in {@link #pow(int, long[])}
+ * <p>This is special routine used in
+ * {@link DDMath#computePowScaled(long, double, double, int, long[])}
* to invert the triple precision result.
*
* @param y First part of y.
diff --git
a/commons-numbers-field/src/main/java/org/apache/commons/numbers/field/FP64.java
b/commons-numbers-field/src/main/java/org/apache/commons/numbers/field/FP64.java
index 4f06ef25..8edae247 100644
---
a/commons-numbers-field/src/main/java/org/apache/commons/numbers/field/FP64.java
+++
b/commons-numbers-field/src/main/java/org/apache/commons/numbers/field/FP64.java
@@ -25,6 +25,7 @@ import org.apache.commons.numbers.core.NativeOperators;
public final class FP64 extends Number
implements NativeOperators<FP64>,
Comparable<FP64> {
+ /** Default serial version ID. */
private static final long serialVersionUID = 1L;
/** Additive neutral. */
diff --git
a/commons-numbers-gamma/src/main/java/org/apache/commons/numbers/gamma/BoostTools.java
b/commons-numbers-gamma/src/main/java/org/apache/commons/numbers/gamma/BoostTools.java
index 3e3bac5a..01d97c0c 100644
---
a/commons-numbers-gamma/src/main/java/org/apache/commons/numbers/gamma/BoostTools.java
+++
b/commons-numbers-gamma/src/main/java/org/apache/commons/numbers/gamma/BoostTools.java
@@ -36,7 +36,7 @@ final class BoostTools {
* The minimum epsilon value for relative error in the summation.
* Equal to Math.ulp(1.0) or 2^-52.
*
- * <h2>Note</h2>
+ * <p>Note
*
* <p>The summation will terminate when any additional terms are too small
to
* change the sum. Assuming additional terms are reducing in magnitude this
@@ -59,7 +59,7 @@ final class BoostTools {
* The minimum epsilon value for relative error in the Kahan summation.
* This can be lower than {@link #EPSILON}. Set to 2^-62.
*
- * <h2>Note</h2>
+ * <p>Note
*
* <p>The Kahan summation uses a carry term to extend the precision of the
sum.
* This extends the 53-bit mantissa by adding more bits to hold round-off
error.