commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aherb...@apache.org
Subject [commons-numbers] 03/04: BigFraction: Correct javadoc for pow(double) method.
Date Thu, 09 Apr 2020 09:25:57 GMT
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

commit 58aafe135561b2912ec0301655dc431e796175dc
Author: aherbert <aherbert@apache.org>
AuthorDate: Thu Apr 9 10:18:08 2020 +0100

    BigFraction: Correct javadoc for pow(double) method.
---
 .../main/java/org/apache/commons/numbers/fraction/BigFraction.java  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/commons-numbers-fraction/src/main/java/org/apache/commons/numbers/fraction/BigFraction.java
b/commons-numbers-fraction/src/main/java/org/apache/commons/numbers/fraction/BigFraction.java
index 541fb6c..a4a14a4 100644
--- a/commons-numbers-fraction/src/main/java/org/apache/commons/numbers/fraction/BigFraction.java
+++ b/commons-numbers-fraction/src/main/java/org/apache/commons/numbers/fraction/BigFraction.java
@@ -954,11 +954,11 @@ public final class BigFraction
     }
 
     /**
-     * Returns a {@code BigFraction} whose value is
-     * <code>this<sup>exponent</sup></code>, returning the result
in reduced form.
+     * Returns a {@code double} whose value is
+     * <code>this<sup>exponent</sup></code>.
      *
      * @param exponent exponent to which this {@code BigFraction} is to be raised.
-     * @return <code>this<sup>exponent</sup></code>.
+     * @return <code>this<sup>exponent</sup></code> as a {@code double}.
      */
     public double pow(final double exponent) {
         return Math.pow(numerator.doubleValue(),   exponent) /


Mime
View raw message