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 8f5a839eda5afdf435c2082bb57be37cca070370
Author: aherbert <aherb...@apache.org>
AuthorDate: Tue Jan 14 13:01:00 2020 +0000

    Fixed documentation of constant ln(max_value)
---
 .../src/main/java/org/apache/commons/numbers/complex/Complex.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 27737c3..3b7eff0 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
@@ -154,7 +154,7 @@ public final class Complex implements Serializable  {
      * sinh(x) = (e^x - e^-x) / 2 = sign(x) * e^|x| / 2
      * cosh(x) = (e^x + e^-x) / 2 = e^|x| / 2 </pre>
      *
-     * <p>The value should be ln(max_value) ~ 709.08. However it is set to an 
integer (709)
+     * <p>The value should be ln(max_value) ~ 709.783. However it is set to an 
integer (709)
      * to provide headroom.
      */
     private static final double SAFE_EXP_MAX = 709;

Reply via email to