You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by er...@apache.org on 2021/06/01 05:06:48 UTC

[commons-math] branch master updated (a5e0b2e -> 491798e)

This is an automated email from the ASF dual-hosted git repository.

erans pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/commons-math.git.


    from a5e0b2e  Reference new modules.
     new 44d1f03  Delete files that were added to the repository by mistake.
     new 491798e  Clean-up.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../legacy/core/jdkmath/AccurateMath.java.bak      | 4351 --------------
 .../legacy/core/jdkmath/AccurateMathCalc.java.bak  |  658 ---
 .../jdkmath/AccurateMathLiteralArrays.java.bak     | 6175 --------------------
 .../commons/math4/legacy/core/dfp/DfpTest.java.bak | 1674 ------
 .../AccurateMathStrictComparisonTest.java.bak      |  262 -
 .../legacy/core/jdkmath/AccurateMathTest.java.bak  | 1965 -------
 .../commons/math4/legacy/complex/package-info.java |    7 +-
 .../commons/math4/legacy/dfp/package-info.java     |   88 -
 8 files changed, 3 insertions(+), 15177 deletions(-)
 delete mode 100644 commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/jdkmath/AccurateMath.java.bak
 delete mode 100644 commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/jdkmath/AccurateMathCalc.java.bak
 delete mode 100644 commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/jdkmath/AccurateMathLiteralArrays.java.bak
 delete mode 100644 commons-math-legacy-core/src/test/java/org/apache/commons/math4/legacy/core/dfp/DfpTest.java.bak
 delete mode 100644 commons-math-legacy-core/src/test/java/org/apache/commons/math4/legacy/core/jdkmath/AccurateMathStrictComparisonTest.java.bak
 delete mode 100644 commons-math-legacy-core/src/test/java/org/apache/commons/math4/legacy/core/jdkmath/AccurateMathTest.java.bak
 delete mode 100644 commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/dfp/package-info.java

[commons-math] 02/02: Clean-up.

Posted by er...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

erans pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-math.git

commit 491798e0de8d1cff013a3cf8bb956d7cd4ca6e3c
Author: Gilles Sadowski <gi...@gmail.com>
AuthorDate: Tue Jun 1 07:05:21 2021 +0200

    Clean-up.
---
 .../commons/math4/legacy/complex/package-info.java |  7 +-
 .../commons/math4/legacy/dfp/package-info.java     | 88 ----------------------
 2 files changed, 3 insertions(+), 92 deletions(-)

diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/complex/package-info.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/complex/package-info.java
index 62d047c..5b87c3a 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/complex/package-info.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/complex/package-info.java
@@ -14,10 +14,9 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+
 /**
- *
- *     Complex number type and implementations of complex transcendental
- *     functions.
- *
+ * Complex number type implementations have been moved to
+ * <a href="http://commons.apache.org/numbers>Commons Numbers</a>.
  */
 package org.apache.commons.math4.legacy.complex;
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/dfp/package-info.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/dfp/package-info.java
deleted file mode 100644
index 92d754a..0000000
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/dfp/package-info.java
+++ /dev/null
@@ -1,88 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-/**
- *
- * Decimal floating point library for Java
- *
- * <p>Another floating point class.  This one is built using radix 10000
- * which is 10<sup>4</sup>, so its almost decimal.</p>
- *
- * <p>The design goals here are:
- * <ol>
- *  <li>Decimal math, or close to it</li>
- *  <li>Settable precision (but no mix between numbers using different settings)</li>
- *  <li>Portability.  Code should be keep as portable as possible.</li>
- *  <li>Performance</li>
- *  <li>Accuracy  - Results should always be +/- 1 ULP for basic
- *       algebraic operation</li>
- *  <li>Comply with IEEE 854-1987 as much as possible.
- *       (See IEEE 854-1987 notes below)</li>
- * </ol>
- *
- * <p>Trade offs:
- * <ol>
- *  <li>Memory foot print.  I'm using more memory than necessary to
- *       represent numbers to get better performance.</li>
- *  <li>Digits are bigger, so rounding is a greater loss.  So, if you
- *       really need 12 decimal digits, better use 4 base 10000 digits
- *       there can be one partially filled.</li>
- * </ol>
- *
- * <p>Numbers are represented  in the following form:
- * <div style="white-space: pre"><code>
- * n  =  sign &times; mant &times; (radix)<sup>exp</sup>;
- * </code></div>
- * where sign is &plusmn;1, mantissa represents a fractional number between
- * zero and one.  mant[0] is the least significant digit.
- * exp is in the range of -32767 to 32768
- *
- * <p>IEEE 854-1987  Notes and differences</p>
- *
- * <p>IEEE 854 requires the radix to be either 2 or 10.  The radix here is
- * 10000, so that requirement is not met, but  it is possible that a
- * subclassed can be made to make it behave as a radix 10
- * number.  It is my opinion that if it looks and behaves as a radix
- * 10 number then it is one and that requirement would be met.</p>
- *
- * <p>The radix of 10000 was chosen because it should be faster to operate
- * on 4 decimal digits at once instead of one at a time.  Radix 10 behavior
- * can be realized by add an additional rounding step to ensure that
- * the number of decimal digits represented is constant.</p>
- *
- * <p>The IEEE standard specifically leaves out internal data encoding,
- * so it is reasonable to conclude that such a subclass of this radix
- * 10000 system is merely an encoding of a radix 10 system.</p>
- *
- * <p>IEEE 854 also specifies the existence of "sub-normal" numbers.  This
- * class does not contain any such entities.  The most significant radix
- * 10000 digit is always non-zero.  Instead, we support "gradual underflow"
- * by raising the underflow flag for numbers less with exponent less than
- * expMin, but don't flush to zero until the exponent reaches MIN_EXP-digits.
- * Thus the smallest number we can represent would be:
- * 1E(-(MIN_EXP-digits-1)&lowast;4),  eg, for digits=5, MIN_EXP=-32767, that would
- * be 1e-131092.</p>
- *
- * <p>IEEE 854 defines that the implied radix point lies just to the right
- * of the most significant digit and to the left of the remaining digits.
- * This implementation puts the implied radix point to the left of all
- * digits including the most significant one.  The most significant digit
- * here is the one just to the right of the radix point.  This is a fine
- * detail and is really only a matter of definition.  Any side effects of
- * this can be rendered invisible by a subclass.</p>
- *
- */
-package org.apache.commons.math4.legacy.dfp;

[commons-math] 01/02: Delete files that were added to the repository by mistake.

Posted by er...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

erans pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-math.git

commit 44d1f03669f15776fdc5b0f88bdf0c6b6b165eb6
Author: Gilles Sadowski <gi...@gmail.com>
AuthorDate: Tue Jun 1 07:02:05 2021 +0200

    Delete files that were added to the repository by mistake.
---
 .../legacy/core/jdkmath/AccurateMath.java.bak      | 4351 --------------
 .../legacy/core/jdkmath/AccurateMathCalc.java.bak  |  658 ---
 .../jdkmath/AccurateMathLiteralArrays.java.bak     | 6175 --------------------
 .../commons/math4/legacy/core/dfp/DfpTest.java.bak | 1674 ------
 .../AccurateMathStrictComparisonTest.java.bak      |  262 -
 .../legacy/core/jdkmath/AccurateMathTest.java.bak  | 1965 -------
 6 files changed, 15085 deletions(-)

diff --git a/commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/jdkmath/AccurateMath.java.bak b/commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/jdkmath/AccurateMath.java.bak
deleted file mode 100644
index 7a39abc..0000000
--- a/commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/jdkmath/AccurateMath.java.bak
+++ /dev/null
@@ -1,4351 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.commons.math4.legacy.util;
-
-import java.io.PrintStream;
-
-import org.apache.commons.numbers.core.Precision;
-import org.apache.commons.math4.legacy.exception.MathArithmeticException;
-import org.apache.commons.math4.legacy.exception.util.LocalizedFormats;
-
-/**
- * Portable alternative to {@link Math} and {@link StrictMath}.
- * <p>
- * Caveat: At the time of implementation, the {@code AccurateMath} functions
- * were often faster and/or more accurate than their JDK equivalent.
- * Nowadays, it would not be surprising that they are always slower (due
- * to the various JVM optimizations that have appeared since Java 5).
- * However, any change to this class should ensure that the current
- * accuracy is not lost.
- * <p>
- * AccurateMath is a drop-in replacement for both Math and StrictMath. This
- * means that for any method in Math (say {@code Math.sin(x)} or
- * {@code Math.cbrt(y)}), user can directly change the class and use the
- * methods as is (using {@code AccurateMath.sin(x)} or {@code AccurateMath.cbrt(y)}
- * in the previous example).
- * </p>
- * <p>
- * AccurateMath speed is achieved by relying heavily on optimizing compilers
- * to native code present in many JVMs today and use of large tables.
- * The larger tables are lazily initialized on first use, so that the setup
- * time does not penalize methods that don't need them.
- * </p>
- * <p>
- * Note that AccurateMath is
- * extensively used inside Apache Commons Math, so by calling some algorithms,
- * the overhead when the tables need to be initialized will occur
- * regardless of the end-user calling AccurateMath methods directly or not.
- * Performance figures for a specific JVM and hardware can be evaluated by
- * running the AccurateMathTestPerformance tests in the test directory of the source
- * distribution.
- * </p>
- * <p>
- * AccurateMath accuracy should be mostly independent of the JVM as it relies only
- * on IEEE-754 basic operations and on embedded tables. Almost all operations
- * are accurate to about 0.5 ulp throughout the domain range. This statement,
- * of course is only a rough global observed behavior, it is <em>not</em> a
- * guarantee for <em>every</em> double numbers input (see William Kahan's <a
- * href="http://en.wikipedia.org/wiki/Rounding#The_table-maker.27s_dilemma">Table
- * Maker's Dilemma</a>).
- * </p>
- * <p>
- * AccurateMath additionally implements the following methods not found in Math/StrictMath:
- * <ul>
- * <li>{@link #asinh(double)}</li>
- * <li>{@link #acosh(double)}</li>
- * <li>{@link #atanh(double)}</li>
- * </ul>
- * The following methods are found in Math/StrictMath since 1.6 only, they are provided
- * by AccurateMath even in 1.5 Java virtual machines
- * <ul>
- * <li>{@link #copySign(double, double)}</li>
- * <li>{@link #getExponent(double)}</li>
- * <li>{@link #nextAfter(double,double)}</li>
- * <li>{@link #nextUp(double)}</li>
- * <li>{@link #scalb(double, int)}</li>
- * <li>{@link #copySign(float, float)}</li>
- * <li>{@link #getExponent(float)}</li>
- * <li>{@link #nextAfter(float,double)}</li>
- * <li>{@link #nextUp(float)}</li>
- * <li>{@link #scalb(float, int)}</li>
- * </ul>
- * @since 2.2
- */
-public class AccurateMath {
-    /** Archimede's constant PI, ratio of circle circumference to diameter. */
-    public static final double PI = 105414357.0 / 33554432.0 + 1.984187159361080883e-9;
-
-    /** Napier's constant e, base of the natural logarithm. */
-    public static final double E = 2850325.0 / 1048576.0 + 8.254840070411028747e-8;
-
-    /** Index of exp(0) in the array of integer exponentials. */
-    static final int EXP_INT_TABLE_MAX_INDEX = 750;
-    /** Length of the array of integer exponentials. */
-    static final int EXP_INT_TABLE_LEN = EXP_INT_TABLE_MAX_INDEX * 2;
-    /** Logarithm table length. */
-    static final int LN_MANT_LEN = 1024;
-    /** Exponential fractions table length. */
-    static final int EXP_FRAC_TABLE_LEN = 1025; // 0, 1/1024, ... 1024/1024
-
-    /** StrictMath.log(Double.MAX_VALUE): {@value} */
-    private static final double LOG_MAX_VALUE = StrictMath.log(Double.MAX_VALUE);
-
-    /** Indicator for tables initialization.
-     * <p>
-     * This compile-time constant should be set to true only if one explicitly
-     * wants to compute the tables at class loading time instead of using the
-     * already computed ones provided as literal arrays below.
-     * </p>
-     */
-    private static final boolean RECOMPUTE_TABLES_AT_RUNTIME = false;
-
-    /** log(2) (high bits). */
-    private static final double LN_2_A = 0.693147063255310059;
-
-    /** log(2) (low bits). */
-    private static final double LN_2_B = 1.17304635250823482e-7;
-
-    /** Coefficients for log, when input 0.99 < x < 1.01. */
-    private static final double LN_QUICK_COEF[][] = {
-        {1.0, 5.669184079525E-24},
-        {-0.25, -0.25},
-        {0.3333333134651184, 1.986821492305628E-8},
-        {-0.25, -6.663542893624021E-14},
-        {0.19999998807907104, 1.1921056801463227E-8},
-        {-0.1666666567325592, -7.800414592973399E-9},
-        {0.1428571343421936, 5.650007086920087E-9},
-        {-0.12502530217170715, -7.44321345601866E-11},
-        {0.11113807559013367, 9.219544613762692E-9},
-    };
-
-    /** Coefficients for log in the range of 1.0 < x < 1.0 + 2^-10. */
-    private static final double LN_HI_PREC_COEF[][] = {
-        {1.0, -6.032174644509064E-23},
-        {-0.25, -0.25},
-        {0.3333333134651184, 1.9868161777724352E-8},
-        {-0.2499999701976776, -2.957007209750105E-8},
-        {0.19999954104423523, 1.5830993332061267E-10},
-        {-0.16624879837036133, -2.6033824355191673E-8}
-    };
-
-    /** Sine, Cosine, Tangent tables are for 0, 1/8, 2/8, ... 13/8 = PI/2 approx. */
-    private static final int SINE_TABLE_LEN = 14;
-
-    /** Sine table (high bits). */
-    private static final double SINE_TABLE_A[] =
-        {
-        +0.0d,
-        +0.1246747374534607d,
-        +0.24740394949913025d,
-        +0.366272509098053d,
-        +0.4794255495071411d,
-        +0.5850973129272461d,
-        +0.6816387176513672d,
-        +0.7675435543060303d,
-        +0.8414709568023682d,
-        +0.902267575263977d,
-        +0.9489846229553223d,
-        +0.9808930158615112d,
-        +0.9974949359893799d,
-        +0.9985313415527344d,
-    };
-
-    /** Sine table (low bits). */
-    private static final double SINE_TABLE_B[] =
-        {
-        +0.0d,
-        -4.068233003401932E-9d,
-        +9.755392680573412E-9d,
-        +1.9987994582857286E-8d,
-        -1.0902938113007961E-8d,
-        -3.9986783938944604E-8d,
-        +4.23719669792332E-8d,
-        -5.207000323380292E-8d,
-        +2.800552834259E-8d,
-        +1.883511811213715E-8d,
-        -3.5997360512765566E-9d,
-        +4.116164446561962E-8d,
-        +5.0614674548127384E-8d,
-        -1.0129027912496858E-9d,
-    };
-
-    /** Cosine table (high bits). */
-    private static final double COSINE_TABLE_A[] =
-        {
-        +1.0d,
-        +0.9921976327896118d,
-        +0.9689123630523682d,
-        +0.9305076599121094d,
-        +0.8775825500488281d,
-        +0.8109631538391113d,
-        +0.7316888570785522d,
-        +0.6409968137741089d,
-        +0.5403022766113281d,
-        +0.4311765432357788d,
-        +0.3153223395347595d,
-        +0.19454771280288696d,
-        +0.07073719799518585d,
-        -0.05417713522911072d,
-    };
-
-    /** Cosine table (low bits). */
-    private static final double COSINE_TABLE_B[] =
-        {
-        +0.0d,
-        +3.4439717236742845E-8d,
-        +5.865827662008209E-8d,
-        -3.7999795083850525E-8d,
-        +1.184154459111628E-8d,
-        -3.43338934259355E-8d,
-        +1.1795268640216787E-8d,
-        +4.438921624363781E-8d,
-        +2.925681159240093E-8d,
-        -2.6437112632041807E-8d,
-        +2.2860509143963117E-8d,
-        -4.813899778443457E-9d,
-        +3.6725170580355583E-9d,
-        +2.0217439756338078E-10d,
-    };
-
-
-    /** Tangent table, used by atan() (high bits). */
-    private static final double TANGENT_TABLE_A[] =
-        {
-        +0.0d,
-        +0.1256551444530487d,
-        +0.25534194707870483d,
-        +0.3936265707015991d,
-        +0.5463024377822876d,
-        +0.7214844226837158d,
-        +0.9315965175628662d,
-        +1.1974215507507324d,
-        +1.5574076175689697d,
-        +2.092571258544922d,
-        +3.0095696449279785d,
-        +5.041914939880371d,
-        +14.101419448852539d,
-        -18.430862426757812d,
-    };
-
-    /** Tangent table, used by atan() (low bits). */
-    private static final double TANGENT_TABLE_B[] =
-        {
-        +0.0d,
-        -7.877917738262007E-9d,
-        -2.5857668567479893E-8d,
-        +5.2240336371356666E-9d,
-        +5.206150291559893E-8d,
-        +1.8307188599677033E-8d,
-        -5.7618793749770706E-8d,
-        +7.848361555046424E-8d,
-        +1.0708593250394448E-7d,
-        +1.7827257129423813E-8d,
-        +2.893485277253286E-8d,
-        +3.1660099222737955E-7d,
-        +4.983191803254889E-7d,
-        -3.356118100840571E-7d,
-    };
-
-    /** Bits of 1/(2*pi), need for reducePayneHanek(). */
-    private static final long RECIP_2PI[] = new long[] {
-        (0x28be60dbL << 32) | 0x9391054aL,
-        (0x7f09d5f4L << 32) | 0x7d4d3770L,
-        (0x36d8a566L << 32) | 0x4f10e410L,
-        (0x7f9458eaL << 32) | 0xf7aef158L,
-        (0x6dc91b8eL << 32) | 0x909374b8L,
-        (0x01924bbaL << 32) | 0x82746487L,
-        (0x3f877ac7L << 32) | 0x2c4a69cfL,
-        (0xba208d7dL << 32) | 0x4baed121L,
-        (0x3a671c09L << 32) | 0xad17df90L,
-        (0x4e64758eL << 32) | 0x60d4ce7dL,
-        (0x272117e2L << 32) | 0xef7e4a0eL,
-        (0xc7fe25ffL << 32) | 0xf7816603L,
-        (0xfbcbc462L << 32) | 0xd6829b47L,
-        (0xdb4d9fb3L << 32) | 0xc9f2c26dL,
-        (0xd3d18fd9L << 32) | 0xa797fa8bL,
-        (0x5d49eeb1L << 32) | 0xfaf97c5eL,
-        (0xcf41ce7dL << 32) | 0xe294a4baL,
-         0x9afed7ecL << 32  };
-
-    /** Bits of pi/4, need for reducePayneHanek(). */
-    private static final long PI_O_4_BITS[] = new long[] {
-        (0xc90fdaa2L << 32) | 0x2168c234L,
-        (0xc4c6628bL << 32) | 0x80dc1cd1L };
-
-    /** Eighths.
-     * This is used by sinQ, because its faster to do a table lookup than
-     * a multiply in this time-critical routine
-     */
-    private static final double EIGHTHS[] = {0, 0.125, 0.25, 0.375, 0.5, 0.625, 0.75, 0.875, 1.0, 1.125, 1.25, 1.375, 1.5, 1.625};
-
-    /** Table of 2^((n+2)/3) */
-    private static final double CBRTTWO[] = { 0.6299605249474366,
-                                            0.7937005259840998,
-                                            1.0,
-                                            1.2599210498948732,
-                                            1.5874010519681994 };
-
-    /*
-     *  There are 52 bits in the mantissa of a double.
-     *  For additional precision, the code splits double numbers into two parts,
-     *  by clearing the low order 30 bits if possible, and then performs the arithmetic
-     *  on each half separately.
-     */
-
-    /**
-     * 0x40000000 - used to split a double into two parts, both with the low order bits cleared.
-     * Equivalent to 2^30.
-     */
-    private static final long HEX_40000000 = 0x40000000L; // 1073741824L
-
-    /** Mask used to clear low order 30 bits */
-    private static final long MASK_30BITS = -1L - (HEX_40000000 -1); // 0xFFFFFFFFC0000000L;
-
-    /** Mask used to clear the non-sign part of an int. */
-    private static final int MASK_NON_SIGN_INT = 0x7fffffff;
-
-    /** Mask used to clear the non-sign part of a long. */
-    private static final long MASK_NON_SIGN_LONG = 0x7fffffffffffffffl;
-
-    /** Mask used to extract exponent from double bits. */
-    private static final long MASK_DOUBLE_EXPONENT = 0x7ff0000000000000L;
-
-    /** Mask used to extract mantissa from double bits. */
-    private static final long MASK_DOUBLE_MANTISSA = 0x000fffffffffffffL;
-
-    /** Mask used to add implicit high order bit for normalized double. */
-    private static final long IMPLICIT_HIGH_BIT = 0x0010000000000000L;
-
-    /** 2^52 - double numbers this large must be integral (no fraction) or NaN or Infinite */
-    private static final double TWO_POWER_52 = 4503599627370496.0;
-
-    /** Constant: {@value}. */
-    private static final double F_1_3 = 1d / 3d;
-    /** Constant: {@value}. */
-    private static final double F_1_5 = 1d / 5d;
-    /** Constant: {@value}. */
-    private static final double F_1_7 = 1d / 7d;
-    /** Constant: {@value}. */
-    private static final double F_1_9 = 1d / 9d;
-    /** Constant: {@value}. */
-    private static final double F_1_11 = 1d / 11d;
-    /** Constant: {@value}. */
-    private static final double F_1_13 = 1d / 13d;
-    /** Constant: {@value}. */
-    private static final double F_1_15 = 1d / 15d;
-    /** Constant: {@value}. */
-    private static final double F_1_17 = 1d / 17d;
-    /** Constant: {@value}. */
-    private static final double F_3_4 = 3d / 4d;
-    /** Constant: {@value}. */
-    private static final double F_15_16 = 15d / 16d;
-    /** Constant: {@value}. */
-    private static final double F_13_14 = 13d / 14d;
-    /** Constant: {@value}. */
-    private static final double F_11_12 = 11d / 12d;
-    /** Constant: {@value}. */
-    private static final double F_9_10 = 9d / 10d;
-    /** Constant: {@value}. */
-    private static final double F_7_8 = 7d / 8d;
-    /** Constant: {@value}. */
-    private static final double F_5_6 = 5d / 6d;
-    /** Constant: {@value}. */
-    private static final double F_1_2 = 1d / 2d;
-    /** Constant: {@value}. */
-    private static final double F_1_4 = 1d / 4d;
-
-    /**
-     * Private Constructor
-     */
-    private AccurateMath() {}
-
-    // Generic helper methods
-
-    /**
-     * Get the high order bits from the mantissa.
-     * Equivalent to adding and subtracting HEX_40000 but also works for very large numbers
-     *
-     * @param d the value to split
-     * @return the high order part of the mantissa
-     */
-    private static double doubleHighPart(double d) {
-        if (d > -Precision.SAFE_MIN && d < Precision.SAFE_MIN){
-            return d; // These are un-normalised - don't try to convert
-        }
-        long xl = Double.doubleToRawLongBits(d); // can take raw bits because just gonna convert it back
-        xl &= MASK_30BITS; // Drop low order bits
-        return Double.longBitsToDouble(xl);
-    }
-
-    /** Compute the square root of a number.
-     * <p><b>Note:</b> this implementation currently delegates to {@link Math#sqrt}
-     * @param a number on which evaluation is done
-     * @return square root of a
-     */
-    public static double sqrt(final double a) {
-        return Math.sqrt(a);
-    }
-
-    /** Compute the hyperbolic cosine of a number.
-     * @param x number on which evaluation is done
-     * @return hyperbolic cosine of x
-     */
-    public static double cosh(double x) {
-      if (Double.isNaN(x)) {
-          return x;
-      }
-
-      // cosh[z] = (exp(z) + exp(-z))/2
-
-      // for numbers with magnitude 20 or so,
-      // exp(-z) can be ignored in comparison with exp(z)
-
-      if (x > 20) {
-          if (x >= LOG_MAX_VALUE) {
-              // Avoid overflow (MATH-905).
-              final double t = exp(0.5 * x);
-              return (0.5 * t) * t;
-          } else {
-              return 0.5 * exp(x);
-          }
-      } else if (x < -20) {
-          if (x <= -LOG_MAX_VALUE) {
-              // Avoid overflow (MATH-905).
-              final double t = exp(-0.5 * x);
-              return (0.5 * t) * t;
-          } else {
-              return 0.5 * exp(-x);
-          }
-      }
-
-      final double hiPrec[] = new double[2];
-      if (x < 0.0) {
-          x = -x;
-      }
-      exp(x, 0.0, hiPrec);
-
-      double ya = hiPrec[0] + hiPrec[1];
-      double yb = -(ya - hiPrec[0] - hiPrec[1]);
-
-      double temp = ya * HEX_40000000;
-      double yaa = ya + temp - temp;
-      double yab = ya - yaa;
-
-      // recip = 1/y
-      double recip = 1.0/ya;
-      temp = recip * HEX_40000000;
-      double recipa = recip + temp - temp;
-      double recipb = recip - recipa;
-
-      // Correct for rounding in division
-      recipb += (1.0 - yaa*recipa - yaa*recipb - yab*recipa - yab*recipb) * recip;
-      // Account for yb
-      recipb += -yb * recip * recip;
-
-      // y = y + 1/y
-      temp = ya + recipa;
-      yb += -(temp - ya - recipa);
-      ya = temp;
-      temp = ya + recipb;
-      yb += -(temp - ya - recipb);
-      ya = temp;
-
-      double result = ya + yb;
-      result *= 0.5;
-      return result;
-    }
-
-    /** Compute the hyperbolic sine of a number.
-     * @param x number on which evaluation is done
-     * @return hyperbolic sine of x
-     */
-    public static double sinh(double x) {
-      boolean negate = false;
-      if (Double.isNaN(x)) {
-          return x;
-      }
-
-      // sinh[z] = (exp(z) - exp(-z) / 2
-
-      // for values of z larger than about 20,
-      // exp(-z) can be ignored in comparison with exp(z)
-
-      if (x > 20) {
-          if (x >= LOG_MAX_VALUE) {
-              // Avoid overflow (MATH-905).
-              final double t = exp(0.5 * x);
-              return (0.5 * t) * t;
-          } else {
-              return 0.5 * exp(x);
-          }
-      } else if (x < -20) {
-          if (x <= -LOG_MAX_VALUE) {
-              // Avoid overflow (MATH-905).
-              final double t = exp(-0.5 * x);
-              return (-0.5 * t) * t;
-          } else {
-              return -0.5 * exp(-x);
-          }
-      }
-
-      if (x == 0) {
-          return x;
-      }
-
-      if (x < 0.0) {
-          x = -x;
-          negate = true;
-      }
-
-      double result;
-
-      if (x > 0.25) {
-          double hiPrec[] = new double[2];
-          exp(x, 0.0, hiPrec);
-
-          double ya = hiPrec[0] + hiPrec[1];
-          double yb = -(ya - hiPrec[0] - hiPrec[1]);
-
-          double temp = ya * HEX_40000000;
-          double yaa = ya + temp - temp;
-          double yab = ya - yaa;
-
-          // recip = 1/y
-          double recip = 1.0/ya;
-          temp = recip * HEX_40000000;
-          double recipa = recip + temp - temp;
-          double recipb = recip - recipa;
-
-          // Correct for rounding in division
-          recipb += (1.0 - yaa*recipa - yaa*recipb - yab*recipa - yab*recipb) * recip;
-          // Account for yb
-          recipb += -yb * recip * recip;
-
-          recipa = -recipa;
-          recipb = -recipb;
-
-          // y = y + 1/y
-          temp = ya + recipa;
-          yb += -(temp - ya - recipa);
-          ya = temp;
-          temp = ya + recipb;
-          yb += -(temp - ya - recipb);
-          ya = temp;
-
-          result = ya + yb;
-          result *= 0.5;
-      }
-      else {
-          double hiPrec[] = new double[2];
-          expm1(x, hiPrec);
-
-          double ya = hiPrec[0] + hiPrec[1];
-          double yb = -(ya - hiPrec[0] - hiPrec[1]);
-
-          /* Compute expm1(-x) = -expm1(x) / (expm1(x) + 1) */
-          double denom = 1.0 + ya;
-          double denomr = 1.0 / denom;
-          double denomb = -(denom - 1.0 - ya) + yb;
-          double ratio = ya * denomr;
-          double temp = ratio * HEX_40000000;
-          double ra = ratio + temp - temp;
-          double rb = ratio - ra;
-
-          temp = denom * HEX_40000000;
-          double za = denom + temp - temp;
-          double zb = denom - za;
-
-          rb += (ya - za*ra - za*rb - zb*ra - zb*rb) * denomr;
-
-          // Adjust for yb
-          rb += yb*denomr;                        // numerator
-          rb += -ya * denomb * denomr * denomr;   // denominator
-
-          // y = y - 1/y
-          temp = ya + ra;
-          yb += -(temp - ya - ra);
-          ya = temp;
-          temp = ya + rb;
-          yb += -(temp - ya - rb);
-          ya = temp;
-
-          result = ya + yb;
-          result *= 0.5;
-      }
-
-      if (negate) {
-          result = -result;
-      }
-
-      return result;
-    }
-
-    /** Compute the hyperbolic tangent of a number.
-     * @param x number on which evaluation is done
-     * @return hyperbolic tangent of x
-     */
-    public static double tanh(double x) {
-      boolean negate = false;
-
-      if (Double.isNaN(x)) {
-          return x;
-      }
-
-      // tanh[z] = sinh[z] / cosh[z]
-      // = (exp(z) - exp(-z)) / (exp(z) + exp(-z))
-      // = (exp(2x) - 1) / (exp(2x) + 1)
-
-      // for magnitude > 20, sinh[z] == cosh[z] in double precision
-
-      if (x > 20.0) {
-          return 1.0;
-      }
-
-      if (x < -20) {
-          return -1.0;
-      }
-
-      if (x == 0) {
-          return x;
-      }
-
-      if (x < 0.0) {
-          x = -x;
-          negate = true;
-      }
-
-      double result;
-      if (x >= 0.5) {
-          double hiPrec[] = new double[2];
-          // tanh(x) = (exp(2x) - 1) / (exp(2x) + 1)
-          exp(x*2.0, 0.0, hiPrec);
-
-          double ya = hiPrec[0] + hiPrec[1];
-          double yb = -(ya - hiPrec[0] - hiPrec[1]);
-
-          /* Numerator */
-          double na = -1.0 + ya;
-          double nb = -(na + 1.0 - ya);
-          double temp = na + yb;
-          nb += -(temp - na - yb);
-          na = temp;
-
-          /* Denominator */
-          double da = 1.0 + ya;
-          double db = -(da - 1.0 - ya);
-          temp = da + yb;
-          db += -(temp - da - yb);
-          da = temp;
-
-          temp = da * HEX_40000000;
-          double daa = da + temp - temp;
-          double dab = da - daa;
-
-          // ratio = na/da
-          double ratio = na/da;
-          temp = ratio * HEX_40000000;
-          double ratioa = ratio + temp - temp;
-          double ratiob = ratio - ratioa;
-
-          // Correct for rounding in division
-          ratiob += (na - daa*ratioa - daa*ratiob - dab*ratioa - dab*ratiob) / da;
-
-          // Account for nb
-          ratiob += nb / da;
-          // Account for db
-          ratiob += -db * na / da / da;
-
-          result = ratioa + ratiob;
-      }
-      else {
-          double hiPrec[] = new double[2];
-          // tanh(x) = expm1(2x) / (expm1(2x) + 2)
-          expm1(x*2.0, hiPrec);
-
-          double ya = hiPrec[0] + hiPrec[1];
-          double yb = -(ya - hiPrec[0] - hiPrec[1]);
-
-          /* Numerator */
-          double na = ya;
-          double nb = yb;
-
-          /* Denominator */
-          double da = 2.0 + ya;
-          double db = -(da - 2.0 - ya);
-          double temp = da + yb;
-          db += -(temp - da - yb);
-          da = temp;
-
-          temp = da * HEX_40000000;
-          double daa = da + temp - temp;
-          double dab = da - daa;
-
-          // ratio = na/da
-          double ratio = na/da;
-          temp = ratio * HEX_40000000;
-          double ratioa = ratio + temp - temp;
-          double ratiob = ratio - ratioa;
-
-          // Correct for rounding in division
-          ratiob += (na - daa*ratioa - daa*ratiob - dab*ratioa - dab*ratiob) / da;
-
-          // Account for nb
-          ratiob += nb / da;
-          // Account for db
-          ratiob += -db * na / da / da;
-
-          result = ratioa + ratiob;
-      }
-
-      if (negate) {
-          result = -result;
-      }
-
-      return result;
-    }
-
-    /** Compute the inverse hyperbolic cosine of a number.
-     * @param a number on which evaluation is done
-     * @return inverse hyperbolic cosine of a
-     */
-    public static double acosh(final double a) {
-        return AccurateMath.log(a + AccurateMath.sqrt(a * a - 1));
-    }
-
-    /** Compute the inverse hyperbolic sine of a number.
-     * @param a number on which evaluation is done
-     * @return inverse hyperbolic sine of a
-     */
-    public static double asinh(double a) {
-        boolean negative = false;
-        if (a < 0) {
-            negative = true;
-            a = -a;
-        }
-
-        double absAsinh;
-        if (a > 0.167) {
-            absAsinh = AccurateMath.log(AccurateMath.sqrt(a * a + 1) + a);
-        } else {
-            final double a2 = a * a;
-            if (a > 0.097) {
-                absAsinh = a * (1 - a2 * (F_1_3 - a2 * (F_1_5 - a2 * (F_1_7 - a2 * (F_1_9 - a2 * (F_1_11 - a2 * (F_1_13 - a2 * (F_1_15 - a2 * F_1_17 * F_15_16) * F_13_14) * F_11_12) * F_9_10) * F_7_8) * F_5_6) * F_3_4) * F_1_2);
-            } else if (a > 0.036) {
-                absAsinh = a * (1 - a2 * (F_1_3 - a2 * (F_1_5 - a2 * (F_1_7 - a2 * (F_1_9 - a2 * (F_1_11 - a2 * F_1_13 * F_11_12) * F_9_10) * F_7_8) * F_5_6) * F_3_4) * F_1_2);
-            } else if (a > 0.0036) {
-                absAsinh = a * (1 - a2 * (F_1_3 - a2 * (F_1_5 - a2 * (F_1_7 - a2 * F_1_9 * F_7_8) * F_5_6) * F_3_4) * F_1_2);
-            } else {
-                absAsinh = a * (1 - a2 * (F_1_3 - a2 * F_1_5 * F_3_4) * F_1_2);
-            }
-        }
-
-        return negative ? -absAsinh : absAsinh;
-    }
-
-    /** Compute the inverse hyperbolic tangent of a number.
-     * @param a number on which evaluation is done
-     * @return inverse hyperbolic tangent of a
-     */
-    public static double atanh(double a) {
-        boolean negative = false;
-        if (a < 0) {
-            negative = true;
-            a = -a;
-        }
-
-        double absAtanh;
-        if (a > 0.15) {
-            absAtanh = 0.5 * AccurateMath.log((1 + a) / (1 - a));
-        } else {
-            final double a2 = a * a;
-            if (a > 0.087) {
-                absAtanh = a * (1 + a2 * (F_1_3 + a2 * (F_1_5 + a2 * (F_1_7 + a2 * (F_1_9 + a2 * (F_1_11 + a2 * (F_1_13 + a2 * (F_1_15 + a2 * F_1_17))))))));
-            } else if (a > 0.031) {
-                absAtanh = a * (1 + a2 * (F_1_3 + a2 * (F_1_5 + a2 * (F_1_7 + a2 * (F_1_9 + a2 * (F_1_11 + a2 * F_1_13))))));
-            } else if (a > 0.003) {
-                absAtanh = a * (1 + a2 * (F_1_3 + a2 * (F_1_5 + a2 * (F_1_7 + a2 * F_1_9))));
-            } else {
-                absAtanh = a * (1 + a2 * (F_1_3 + a2 * F_1_5));
-            }
-        }
-
-        return negative ? -absAtanh : absAtanh;
-    }
-
-    /** Compute the signum of a number.
-     * The signum is -1 for negative numbers, +1 for positive numbers and 0 otherwise
-     * @param a number on which evaluation is done
-     * @return -1.0, -0.0, +0.0, +1.0 or NaN depending on sign of a
-     */
-    public static double signum(final double a) {
-        return (a < 0.0) ? -1.0 : ((a > 0.0) ? 1.0 : a); // return +0.0/-0.0/NaN depending on a
-    }
-
-    /** Compute the signum of a number.
-     * The signum is -1 for negative numbers, +1 for positive numbers and 0 otherwise
-     * @param a number on which evaluation is done
-     * @return -1.0, -0.0, +0.0, +1.0 or NaN depending on sign of a
-     */
-    public static float signum(final float a) {
-        return (a < 0.0f) ? -1.0f : ((a > 0.0f) ? 1.0f : a); // return +0.0/-0.0/NaN depending on a
-    }
-
-    /** Compute next number towards positive infinity.
-     * @param a number to which neighbor should be computed
-     * @return neighbor of a towards positive infinity
-     */
-    public static double nextUp(final double a) {
-        return nextAfter(a, Double.POSITIVE_INFINITY);
-    }
-
-    /** Compute next number towards positive infinity.
-     * @param a number to which neighbor should be computed
-     * @return neighbor of a towards positive infinity
-     */
-    public static float nextUp(final float a) {
-        return nextAfter(a, Float.POSITIVE_INFINITY);
-    }
-
-    /** Compute next number towards negative infinity.
-     * @param a number to which neighbor should be computed
-     * @return neighbor of a towards negative infinity
-     * @since 3.4
-     */
-    public static double nextDown(final double a) {
-        return nextAfter(a, Double.NEGATIVE_INFINITY);
-    }
-
-    /** Compute next number towards negative infinity.
-     * @param a number to which neighbor should be computed
-     * @return neighbor of a towards negative infinity
-     * @since 3.4
-     */
-    public static float nextDown(final float a) {
-        return nextAfter(a, Float.NEGATIVE_INFINITY);
-    }
-
-    /** Returns a pseudo-random number between 0.0 and 1.0.
-     * <p><b>Note:</b> this implementation currently delegates to {@link Math#random}
-     * @return a random number between 0.0 and 1.0
-     */
-    public static double random() {
-        return Math.random();
-    }
-
-    /**
-     * Exponential function.
-     *
-     * Computes exp(x), function result is nearly rounded.   It will be correctly
-     * rounded to the theoretical value for 99.9% of input values, otherwise it will
-     * have a 1 ULP error.
-     *
-     * Method:
-     *    Lookup intVal = exp(int(x))
-     *    Lookup fracVal = exp(int(x-int(x) / 1024.0) * 1024.0 );
-     *    Compute z as the exponential of the remaining bits by a polynomial minus one
-     *    exp(x) = intVal * fracVal * (1 + z)
-     *
-     * Accuracy:
-     *    Calculation is done with 63 bits of precision, so result should be correctly
-     *    rounded for 99.9% of input values, with less than 1 ULP error otherwise.
-     *
-     * @param x   a double
-     * @return double e<sup>x</sup>
-     */
-    public static double exp(double x) {
-        return exp(x, 0.0, null);
-    }
-
-    /**
-     * Internal helper method for exponential function.
-     * @param x original argument of the exponential function
-     * @param extra extra bits of precision on input (To Be Confirmed)
-     * @param hiPrec extra bits of precision on output (To Be Confirmed)
-     * @return exp(x)
-     */
-    private static double exp(double x, double extra, double[] hiPrec) {
-        double intPartA;
-        double intPartB;
-        int intVal = (int) x;
-
-        /* Lookup exp(floor(x)).
-         * intPartA will have the upper 22 bits, intPartB will have the lower
-         * 52 bits.
-         */
-        if (x < 0.0) {
-
-            // We don't check against intVal here as conversion of large negative double values
-            // may be affected by a JIT bug. Subsequent comparisons can safely use intVal
-            if (x < -746d) {
-                if (hiPrec != null) {
-                    hiPrec[0] = 0.0;
-                    hiPrec[1] = 0.0;
-                }
-                return 0.0;
-            }
-
-            if (intVal < -709) {
-                /* This will produce a subnormal output */
-                final double result = exp(x+40.19140625, extra, hiPrec) / 285040095144011776.0;
-                if (hiPrec != null) {
-                    hiPrec[0] /= 285040095144011776.0;
-                    hiPrec[1] /= 285040095144011776.0;
-                }
-                return result;
-            }
-
-            if (intVal == -709) {
-                /* exp(1.494140625) is nearly a machine number... */
-                final double result = exp(x+1.494140625, extra, hiPrec) / 4.455505956692756620;
-                if (hiPrec != null) {
-                    hiPrec[0] /= 4.455505956692756620;
-                    hiPrec[1] /= 4.455505956692756620;
-                }
-                return result;
-            }
-
-            intVal--;
-
-        } else {
-            if (intVal > 709) {
-                if (hiPrec != null) {
-                    hiPrec[0] = Double.POSITIVE_INFINITY;
-                    hiPrec[1] = 0.0;
-                }
-                return Double.POSITIVE_INFINITY;
-            }
-
-        }
-
-        intPartA = ExpIntTable.EXP_INT_TABLE_A[EXP_INT_TABLE_MAX_INDEX+intVal];
-        intPartB = ExpIntTable.EXP_INT_TABLE_B[EXP_INT_TABLE_MAX_INDEX+intVal];
-
-        /* Get the fractional part of x, find the greatest multiple of 2^-10 less than
-         * x and look up the exp function of it.
-         * fracPartA will have the upper 22 bits, fracPartB the lower 52 bits.
-         */
-        final int intFrac = (int) ((x - intVal) * 1024.0);
-        final double fracPartA = ExpFracTable.EXP_FRAC_TABLE_A[intFrac];
-        final double fracPartB = ExpFracTable.EXP_FRAC_TABLE_B[intFrac];
-
-        /* epsilon is the difference in x from the nearest multiple of 2^-10.  It
-         * has a value in the range 0 <= epsilon < 2^-10.
-         * Do the subtraction from x as the last step to avoid possible loss of precision.
-         */
-        final double epsilon = x - (intVal + intFrac / 1024.0);
-
-        /* Compute z = exp(epsilon) - 1.0 via a minimax polynomial.  z has
-       full double precision (52 bits).  Since z < 2^-10, we will have
-       62 bits of precision when combined with the constant 1.  This will be
-       used in the last addition below to get proper rounding. */
-
-        /* Remez generated polynomial.  Converges on the interval [0, 2^-10], error
-       is less than 0.5 ULP */
-        double z = 0.04168701738764507;
-        z = z * epsilon + 0.1666666505023083;
-        z = z * epsilon + 0.5000000000042687;
-        z = z * epsilon + 1.0;
-        z = z * epsilon + -3.940510424527919E-20;
-
-        /* Compute (intPartA+intPartB) * (fracPartA+fracPartB) by binomial
-       expansion.
-       tempA is exact since intPartA and intPartB only have 22 bits each.
-       tempB will have 52 bits of precision.
-         */
-        double tempA = intPartA * fracPartA;
-        double tempB = intPartA * fracPartB + intPartB * fracPartA + intPartB * fracPartB;
-
-        /* Compute the result.  (1+z)(tempA+tempB).  Order of operations is
-       important.  For accuracy add by increasing size.  tempA is exact and
-       much larger than the others.  If there are extra bits specified from the
-       pow() function, use them. */
-        final double tempC = tempB + tempA;
-
-        // If tempC is positive infinite, the evaluation below could result in NaN,
-        // because z could be negative at the same time.
-        if (tempC == Double.POSITIVE_INFINITY) {
-            return Double.POSITIVE_INFINITY;
-        }
-
-        final double result;
-        if (extra != 0.0) {
-            result = tempC*extra*z + tempC*extra + tempC*z + tempB + tempA;
-        } else {
-            result = tempC*z + tempB + tempA;
-        }
-
-        if (hiPrec != null) {
-            // If requesting high precision
-            hiPrec[0] = tempA;
-            hiPrec[1] = tempC*extra*z + tempC*extra + tempC*z + tempB;
-        }
-
-        return result;
-    }
-
-    /** Compute exp(x) - 1
-     * @param x number to compute shifted exponential
-     * @return exp(x) - 1
-     */
-    public static double expm1(double x) {
-      return expm1(x, null);
-    }
-
-    /** Internal helper method for expm1
-     * @param x number to compute shifted exponential
-     * @param hiPrecOut receive high precision result for -1.0 < x < 1.0
-     * @return exp(x) - 1
-     */
-    private static double expm1(double x, double hiPrecOut[]) {
-        if (Double.isNaN(x) || x == 0.0) { // NaN or zero
-            return x;
-        }
-
-        if (x <= -1.0 || x >= 1.0) {
-            // If not between +/- 1.0
-            //return exp(x) - 1.0;
-            double hiPrec[] = new double[2];
-            exp(x, 0.0, hiPrec);
-            if (x > 0.0) {
-                return -1.0 + hiPrec[0] + hiPrec[1];
-            } else {
-                final double ra = -1.0 + hiPrec[0];
-                double rb = -(ra + 1.0 - hiPrec[0]);
-                rb += hiPrec[1];
-                return ra + rb;
-            }
-        }
-
-        double baseA;
-        double baseB;
-        double epsilon;
-        boolean negative = false;
-
-        if (x < 0.0) {
-            x = -x;
-            negative = true;
-        }
-
-        {
-            int intFrac = (int) (x * 1024.0);
-            double tempA = ExpFracTable.EXP_FRAC_TABLE_A[intFrac] - 1.0;
-            double tempB = ExpFracTable.EXP_FRAC_TABLE_B[intFrac];
-
-            double temp = tempA + tempB;
-            tempB = -(temp - tempA - tempB);
-            tempA = temp;
-
-            temp = tempA * HEX_40000000;
-            baseA = tempA + temp - temp;
-            baseB = tempB + (tempA - baseA);
-
-            epsilon = x - intFrac/1024.0;
-        }
-
-
-        /* Compute expm1(epsilon) */
-        double zb = 0.008336750013465571;
-        zb = zb * epsilon + 0.041666663879186654;
-        zb = zb * epsilon + 0.16666666666745392;
-        zb = zb * epsilon + 0.49999999999999994;
-        zb *= epsilon;
-        zb *= epsilon;
-
-        double za = epsilon;
-        double temp = za + zb;
-        zb = -(temp - za - zb);
-        za = temp;
-
-        temp = za * HEX_40000000;
-        temp = za + temp - temp;
-        zb += za - temp;
-        za = temp;
-
-        /* Combine the parts.   expm1(a+b) = expm1(a) + expm1(b) + expm1(a)*expm1(b) */
-        double ya = za * baseA;
-        //double yb = za*baseB + zb*baseA + zb*baseB;
-        temp = ya + za * baseB;
-        double yb = -(temp - ya - za * baseB);
-        ya = temp;
-
-        temp = ya + zb * baseA;
-        yb += -(temp - ya - zb * baseA);
-        ya = temp;
-
-        temp = ya + zb * baseB;
-        yb += -(temp - ya - zb*baseB);
-        ya = temp;
-
-        //ya = ya + za + baseA;
-        //yb = yb + zb + baseB;
-        temp = ya + baseA;
-        yb += -(temp - baseA - ya);
-        ya = temp;
-
-        temp = ya + za;
-        //yb += (ya > za) ? -(temp - ya - za) : -(temp - za - ya);
-        yb += -(temp - ya - za);
-        ya = temp;
-
-        temp = ya + baseB;
-        //yb += (ya > baseB) ? -(temp - ya - baseB) : -(temp - baseB - ya);
-        yb += -(temp - ya - baseB);
-        ya = temp;
-
-        temp = ya + zb;
-        //yb += (ya > zb) ? -(temp - ya - zb) : -(temp - zb - ya);
-        yb += -(temp - ya - zb);
-        ya = temp;
-
-        if (negative) {
-            /* Compute expm1(-x) = -expm1(x) / (expm1(x) + 1) */
-            double denom = 1.0 + ya;
-            double denomr = 1.0 / denom;
-            double denomb = -(denom - 1.0 - ya) + yb;
-            double ratio = ya * denomr;
-            temp = ratio * HEX_40000000;
-            final double ra = ratio + temp - temp;
-            double rb = ratio - ra;
-
-            temp = denom * HEX_40000000;
-            za = denom + temp - temp;
-            zb = denom - za;
-
-            rb += (ya - za * ra - za * rb - zb * ra - zb * rb) * denomr;
-
-            // f(x) = x/1+x
-            // Compute f'(x)
-            // Product rule:  d(uv) = du*v + u*dv
-            // Chain rule:  d(f(g(x)) = f'(g(x))*f(g'(x))
-            // d(1/x) = -1/(x*x)
-            // d(1/1+x) = -1/( (1+x)^2) *  1 =  -1/((1+x)*(1+x))
-            // d(x/1+x) = -x/((1+x)(1+x)) + 1/1+x = 1 / ((1+x)(1+x))
-
-            // Adjust for yb
-            rb += yb * denomr;                      // numerator
-            rb += -ya * denomb * denomr * denomr;   // denominator
-
-            // negate
-            ya = -ra;
-            yb = -rb;
-        }
-
-        if (hiPrecOut != null) {
-            hiPrecOut[0] = ya;
-            hiPrecOut[1] = yb;
-        }
-
-        return ya + yb;
-    }
-
-    /**
-     * Natural logarithm.
-     *
-     * @param x   a double
-     * @return log(x)
-     */
-    public static double log(final double x) {
-        return log(x, null);
-    }
-
-    /**
-     * Internal helper method for natural logarithm function.
-     * @param x original argument of the natural logarithm function
-     * @param hiPrec extra bits of precision on output (To Be Confirmed)
-     * @return log(x)
-     */
-    private static double log(final double x, final double[] hiPrec) {
-        if (x==0) { // Handle special case of +0/-0
-            return Double.NEGATIVE_INFINITY;
-        }
-        long bits = Double.doubleToRawLongBits(x);
-
-        /* Handle special cases of negative input, and NaN */
-        if (((bits & 0x8000000000000000L) != 0 || Double.isNaN(x)) && x != 0.0) {
-            if (hiPrec != null) {
-                hiPrec[0] = Double.NaN;
-            }
-
-            return Double.NaN;
-        }
-
-        /* Handle special cases of Positive infinity. */
-        if (x == Double.POSITIVE_INFINITY) {
-            if (hiPrec != null) {
-                hiPrec[0] = Double.POSITIVE_INFINITY;
-            }
-
-            return Double.POSITIVE_INFINITY;
-        }
-
-        /* Extract the exponent */
-        int exp = (int)(bits >> 52)-1023;
-
-        if ((bits & 0x7ff0000000000000L) == 0) {
-            // Subnormal!
-            if (x == 0) {
-                // Zero
-                if (hiPrec != null) {
-                    hiPrec[0] = Double.NEGATIVE_INFINITY;
-                }
-
-                return Double.NEGATIVE_INFINITY;
-            }
-
-            /* Normalize the subnormal number. */
-            bits <<= 1;
-            while ( (bits & 0x0010000000000000L) == 0) {
-                --exp;
-                bits <<= 1;
-            }
-        }
-
-
-        if ((exp == -1 || exp == 0) && x < 1.01 && x > 0.99 && hiPrec == null) {
-            /* The normal method doesn't work well in the range [0.99, 1.01], so call do a straight
-           polynomial expansion in higer precision. */
-
-            /* Compute x - 1.0 and split it */
-            double xa = x - 1.0;
-            double xb = xa - x + 1.0;
-            double tmp = xa * HEX_40000000;
-            double aa = xa + tmp - tmp;
-            double ab = xa - aa;
-            xa = aa;
-            xb = ab;
-
-            final double[] lnCoef_last = LN_QUICK_COEF[LN_QUICK_COEF.length - 1];
-            double ya = lnCoef_last[0];
-            double yb = lnCoef_last[1];
-
-            for (int i = LN_QUICK_COEF.length - 2; i >= 0; i--) {
-                /* Multiply a = y * x */
-                aa = ya * xa;
-                ab = ya * xb + yb * xa + yb * xb;
-                /* split, so now y = a */
-                tmp = aa * HEX_40000000;
-                ya = aa + tmp - tmp;
-                yb = aa - ya + ab;
-
-                /* Add  a = y + lnQuickCoef */
-                final double[] lnCoef_i = LN_QUICK_COEF[i];
-                aa = ya + lnCoef_i[0];
-                ab = yb + lnCoef_i[1];
-                /* Split y = a */
-                tmp = aa * HEX_40000000;
-                ya = aa + tmp - tmp;
-                yb = aa - ya + ab;
-            }
-
-            /* Multiply a = y * x */
-            aa = ya * xa;
-            ab = ya * xb + yb * xa + yb * xb;
-            /* split, so now y = a */
-            tmp = aa * HEX_40000000;
-            ya = aa + tmp - tmp;
-            yb = aa - ya + ab;
-
-            return ya + yb;
-        }
-
-        // lnm is a log of a number in the range of 1.0 - 2.0, so 0 <= lnm < ln(2)
-        final double[] lnm = lnMant.LN_MANT[(int)((bits & 0x000ffc0000000000L) >> 42)];
-
-        /*
-    double epsilon = x / Double.longBitsToDouble(bits & 0xfffffc0000000000L);
-
-    epsilon -= 1.0;
-         */
-
-        // y is the most significant 10 bits of the mantissa
-        //double y = Double.longBitsToDouble(bits & 0xfffffc0000000000L);
-        //double epsilon = (x - y) / y;
-        final double epsilon = (bits & 0x3ffffffffffL) / (TWO_POWER_52 + (bits & 0x000ffc0000000000L));
-
-        double lnza = 0.0;
-        double lnzb = 0.0;
-
-        if (hiPrec != null) {
-            /* split epsilon -> x */
-            double tmp = epsilon * HEX_40000000;
-            double aa = epsilon + tmp - tmp;
-            double ab = epsilon - aa;
-            double xa = aa;
-            double xb = ab;
-
-            /* Need a more accurate epsilon, so adjust the division. */
-            final double numer = bits & 0x3ffffffffffL;
-            final double denom = TWO_POWER_52 + (bits & 0x000ffc0000000000L);
-            aa = numer - xa*denom - xb * denom;
-            xb += aa / denom;
-
-            /* Remez polynomial evaluation */
-            final double[] lnCoef_last = LN_HI_PREC_COEF[LN_HI_PREC_COEF.length-1];
-            double ya = lnCoef_last[0];
-            double yb = lnCoef_last[1];
-
-            for (int i = LN_HI_PREC_COEF.length - 2; i >= 0; i--) {
-                /* Multiply a = y * x */
-                aa = ya * xa;
-                ab = ya * xb + yb * xa + yb * xb;
-                /* split, so now y = a */
-                tmp = aa * HEX_40000000;
-                ya = aa + tmp - tmp;
-                yb = aa - ya + ab;
-
-                /* Add  a = y + lnHiPrecCoef */
-                final double[] lnCoef_i = LN_HI_PREC_COEF[i];
-                aa = ya + lnCoef_i[0];
-                ab = yb + lnCoef_i[1];
-                /* Split y = a */
-                tmp = aa * HEX_40000000;
-                ya = aa + tmp - tmp;
-                yb = aa - ya + ab;
-            }
-
-            /* Multiply a = y * x */
-            aa = ya * xa;
-            ab = ya * xb + yb * xa + yb * xb;
-
-            /* split, so now lnz = a */
-            /*
-      tmp = aa * 1073741824.0;
-      lnza = aa + tmp - tmp;
-      lnzb = aa - lnza + ab;
-             */
-            lnza = aa + ab;
-            lnzb = -(lnza - aa - ab);
-        } else {
-            /* High precision not required.  Eval Remez polynomial
-         using standard double precision */
-            lnza = -0.16624882440418567;
-            lnza = lnza * epsilon + 0.19999954120254515;
-            lnza = lnza * epsilon + -0.2499999997677497;
-            lnza = lnza * epsilon + 0.3333333333332802;
-            lnza = lnza * epsilon + -0.5;
-            lnza = lnza * epsilon + 1.0;
-            lnza *= epsilon;
-        }
-
-        /* Relative sizes:
-         * lnzb     [0, 2.33E-10]
-         * lnm[1]   [0, 1.17E-7]
-         * ln2B*exp [0, 1.12E-4]
-         * lnza      [0, 9.7E-4]
-         * lnm[0]   [0, 0.692]
-         * ln2A*exp [0, 709]
-         */
-
-        /* Compute the following sum:
-         * lnzb + lnm[1] + ln2B*exp + lnza + lnm[0] + ln2A*exp;
-         */
-
-        //return lnzb + lnm[1] + ln2B*exp + lnza + lnm[0] + ln2A*exp;
-        double a = LN_2_A*exp;
-        double b = 0.0;
-        double c = a+lnm[0];
-        double d = -(c-a-lnm[0]);
-        a = c;
-        b += d;
-
-        c = a + lnza;
-        d = -(c - a - lnza);
-        a = c;
-        b += d;
-
-        c = a + LN_2_B*exp;
-        d = -(c - a - LN_2_B*exp);
-        a = c;
-        b += d;
-
-        c = a + lnm[1];
-        d = -(c - a - lnm[1]);
-        a = c;
-        b += d;
-
-        c = a + lnzb;
-        d = -(c - a - lnzb);
-        a = c;
-        b += d;
-
-        if (hiPrec != null) {
-            hiPrec[0] = a;
-            hiPrec[1] = b;
-        }
-
-        return a + b;
-    }
-
-    /**
-     * Computes log(1 + x).
-     *
-     * @param x Number.
-     * @return {@code log(1 + x)}.
-     */
-    public static double log1p(final double x) {
-        if (x == -1) {
-            return Double.NEGATIVE_INFINITY;
-        }
-
-        if (x == Double.POSITIVE_INFINITY) {
-            return Double.POSITIVE_INFINITY;
-        }
-
-        if (x > 1e-6 ||
-            x < -1e-6) {
-            final double xpa = 1 + x;
-            final double xpb = -(xpa - 1 - x);
-
-            final double[] hiPrec = new double[2];
-            final double lores = log(xpa, hiPrec);
-            if (Double.isInfinite(lores)) { // Don't allow this to be converted to NaN
-                return lores;
-            }
-
-            // Do a taylor series expansion around xpa:
-            //   f(x+y) = f(x) + f'(x) y + f''(x)/2 y^2
-            final double fx1 = xpb / xpa;
-            final double epsilon = 0.5 * fx1 + 1;
-            return epsilon * fx1 + hiPrec[1] + hiPrec[0];
-        } else {
-            // Value is small |x| < 1e6, do a Taylor series centered on 1.
-            final double y = (x * F_1_3 - F_1_2) * x + 1;
-            return y * x;
-        }
-    }
-
-    /** Compute the base 10 logarithm.
-     * @param x a number
-     * @return log10(x)
-     */
-    public static double log10(final double x) {
-        final double hiPrec[] = new double[2];
-
-        final double lores = log(x, hiPrec);
-        if (Double.isInfinite(lores)){ // don't allow this to be converted to NaN
-            return lores;
-        }
-
-        final double tmp = hiPrec[0] * HEX_40000000;
-        final double lna = hiPrec[0] + tmp - tmp;
-        final double lnb = hiPrec[0] - lna + hiPrec[1];
-
-        final double rln10a = 0.4342944622039795;
-        final double rln10b = 1.9699272335463627E-8;
-
-        return rln10b * lnb + rln10b * lna + rln10a * lnb + rln10a * lna;
-    }
-
-    /**
-     * Computes the <a href="http://mathworld.wolfram.com/Logarithm.html">
-     * logarithm</a> in a given base.
-     *
-     * Returns {@code NaN} if either argument is negative.
-     * If {@code base} is 0 and {@code x} is positive, 0 is returned.
-     * If {@code base} is positive and {@code x} is 0,
-     * {@code Double.NEGATIVE_INFINITY} is returned.
-     * If both arguments are 0, the result is {@code NaN}.
-     *
-     * @param base Base of the logarithm, must be greater than 0.
-     * @param x Argument, must be greater than 0.
-     * @return the value of the logarithm, i.e. the number {@code y} such that
-     * <code>base<sup>y</sup> = x</code>.
-     * @since 3.0
-     */
-    public static double log(double base, double x) {
-        return log(x) / log(base);
-    }
-
-    /**
-     * Power function.  Compute x^y.
-     *
-     * @param x   a double
-     * @param y   a double
-     * @return double
-     */
-    public static double pow(final double x, final double y) {
-
-        if (y == 0) {
-            // y = -0 or y = +0
-            return 1.0;
-        } else {
-
-            final long yBits        = Double.doubleToRawLongBits(y);
-            final int  yRawExp      = (int) ((yBits & MASK_DOUBLE_EXPONENT) >> 52);
-            final long yRawMantissa = yBits & MASK_DOUBLE_MANTISSA;
-            final long xBits        = Double.doubleToRawLongBits(x);
-            final int  xRawExp      = (int) ((xBits & MASK_DOUBLE_EXPONENT) >> 52);
-            final long xRawMantissa = xBits & MASK_DOUBLE_MANTISSA;
-
-            if (yRawExp > 1085) {
-                // y is either a very large integral value that does not fit in a long or it is a special number
-
-                if ((yRawExp == 2047 && yRawMantissa != 0) ||
-                    (xRawExp == 2047 && xRawMantissa != 0)) {
-                    // NaN
-                    return Double.NaN;
-                } else if (xRawExp == 1023 && xRawMantissa == 0) {
-                    // x = -1.0 or x = +1.0
-                    if (yRawExp == 2047) {
-                        // y is infinite
-                        return Double.NaN;
-                    } else {
-                        // y is a large even integer
-                        return 1.0;
-                    }
-                } else {
-                    // the absolute value of x is either greater or smaller than 1.0
-
-                    // if yRawExp == 2047 and mantissa is 0, y = -infinity or y = +infinity
-                    // if 1085 < yRawExp < 2047, y is simply a large number, however, due to limited
-                    // accuracy, at this magnitude it behaves just like infinity with regards to x
-                    if ((y > 0) ^ (xRawExp < 1023)) {
-                        // either y = +infinity (or large engouh) and abs(x) > 1.0
-                        // or     y = -infinity (or large engouh) and abs(x) < 1.0
-                        return Double.POSITIVE_INFINITY;
-                    } else {
-                        // either y = +infinity (or large engouh) and abs(x) < 1.0
-                        // or     y = -infinity (or large engouh) and abs(x) > 1.0
-                        return +0.0;
-                    }
-                }
-
-            } else {
-                // y is a regular non-zero number
-
-                if (yRawExp >= 1023) {
-                    // y may be an integral value, which should be handled specifically
-                    final long yFullMantissa = IMPLICIT_HIGH_BIT | yRawMantissa;
-                    if (yRawExp < 1075) {
-                        // normal number with negative shift that may have a fractional part
-                        final long integralMask = (-1L) << (1075 - yRawExp);
-                        if ((yFullMantissa & integralMask) == yFullMantissa) {
-                            // all fractional bits are 0, the number is really integral
-                            final long l = yFullMantissa >> (1075 - yRawExp);
-                            return AccurateMath.pow(x, (y < 0) ? -l : l);
-                        }
-                    } else {
-                        // normal number with positive shift, always an integral value
-                        // we know it fits in a primitive long because yRawExp > 1085 has been handled above
-                        final long l =  yFullMantissa << (yRawExp - 1075);
-                        return AccurateMath.pow(x, (y < 0) ? -l : l);
-                    }
-                }
-
-                // y is a non-integral value
-
-                if (x == 0) {
-                    // x = -0 or x = +0
-                    // the integer powers have already been handled above
-                    return y < 0 ? Double.POSITIVE_INFINITY : +0.0;
-                } else if (xRawExp == 2047) {
-                    if (xRawMantissa == 0) {
-                        // x = -infinity or x = +infinity
-                        return (y < 0) ? +0.0 : Double.POSITIVE_INFINITY;
-                    } else {
-                        // NaN
-                        return Double.NaN;
-                    }
-                } else if (x < 0) {
-                    // the integer powers have already been handled above
-                    return Double.NaN;
-                } else {
-
-                    // this is the general case, for regular fractional numbers x and y
-
-                    // Split y into ya and yb such that y = ya+yb
-                    final double tmp = y * HEX_40000000;
-                    final double ya = (y + tmp) - tmp;
-                    final double yb = y - ya;
-
-                    /* Compute ln(x) */
-                    final double lns[] = new double[2];
-                    final double lores = log(x, lns);
-                    if (Double.isInfinite(lores)) { // don't allow this to be converted to NaN
-                        return lores;
-                    }
-
-                    double lna = lns[0];
-                    double lnb = lns[1];
-
-                    /* resplit lns */
-                    final double tmp1 = lna * HEX_40000000;
-                    final double tmp2 = (lna + tmp1) - tmp1;
-                    lnb += lna - tmp2;
-                    lna = tmp2;
-
-                    // y*ln(x) = (aa+ab)
-                    final double aa = lna * ya;
-                    final double ab = lna * yb + lnb * ya + lnb * yb;
-
-                    lna = aa+ab;
-                    lnb = -(lna - aa - ab);
-
-                    double z = 1.0 / 120.0;
-                    z = z * lnb + (1.0 / 24.0);
-                    z = z * lnb + (1.0 / 6.0);
-                    z = z * lnb + 0.5;
-                    z = z * lnb + 1.0;
-                    z *= lnb;
-
-                    final double result = exp(lna, z, null);
-                    //result = result + result * z;
-                    return result;
-
-                }
-            }
-
-        }
-
-    }
-
-    /**
-     * Raise a double to an int power.
-     *
-     * @param d Number to raise.
-     * @param e Exponent.
-     * @return d<sup>e</sup>
-     * @since 3.1
-     */
-    public static double pow(double d, int e) {
-        return pow(d, (long) e);
-    }
-
-
-    /**
-     * Raise a double to a long power.
-     *
-     * @param d Number to raise.
-     * @param e Exponent.
-     * @return d<sup>e</sup>
-     * @since 3.6
-     */
-    public static double pow(double d, long e) {
-        if (e == 0) {
-            return 1.0;
-        } else if (e > 0) {
-            return new Split(d).pow(e).full;
-        } else {
-            return new Split(d).reciprocal().pow(-e).full;
-        }
-    }
-
-    /** Class operator on double numbers split into one 26 bits number and one 27 bits number. */
-    private static class Split {
-
-        /** Split version of NaN. */
-        public static final Split NAN = new Split(Double.NaN, 0);
-
-        /** Split version of positive infinity. */
-        public static final Split POSITIVE_INFINITY = new Split(Double.POSITIVE_INFINITY, 0);
-
-        /** Split version of negative infinity. */
-        public static final Split NEGATIVE_INFINITY = new Split(Double.NEGATIVE_INFINITY, 0);
-
-        /** Full number. */
-        private final double full;
-
-        /** High order bits. */
-        private final double high;
-
-        /** Low order bits. */
-        private final double low;
-
-        /** Simple constructor.
-         * @param x number to split
-         */
-        Split(final double x) {
-            full = x;
-            high = Double.longBitsToDouble(Double.doubleToRawLongBits(x) & ((-1L) << 27));
-            low  = x - high;
-        }
-
-        /** Simple constructor.
-         * @param high high order bits
-         * @param low low order bits
-         */
-        Split(final double high, final double low) {
-            this(high == 0.0 ? (low == 0.0 && Double.doubleToRawLongBits(high) == Long.MIN_VALUE /* negative zero */ ? -0.0 : low) : high + low, high, low);
-        }
-
-        /** Simple constructor.
-         * @param full full number
-         * @param high high order bits
-         * @param low low order bits
-         */
-        Split(final double full, final double high, final double low) {
-            this.full = full;
-            this.high = high;
-            this.low  = low;
-        }
-
-        /** Multiply the instance by another one.
-         * @param b other instance to multiply by
-         * @return product
-         */
-        public Split multiply(final Split b) {
-            // beware the following expressions must NOT be simplified, they rely on floating point arithmetic properties
-            final Split  mulBasic  = new Split(full * b.full);
-            final double mulError  = low * b.low - (((mulBasic.full - high * b.high) - low * b.high) - high * b.low);
-            return new Split(mulBasic.high, mulBasic.low + mulError);
-        }
-
-        /** Compute the reciprocal of the instance.
-         * @return reciprocal of the instance
-         */
-        public Split reciprocal() {
-
-            final double approximateInv = 1.0 / full;
-            final Split  splitInv       = new Split(approximateInv);
-
-            // if 1.0/d were computed perfectly, remultiplying it by d should give 1.0
-            // we want to estimate the error so we can fix the low order bits of approximateInvLow
-            // beware the following expressions must NOT be simplified, they rely on floating point arithmetic properties
-            final Split product = multiply(splitInv);
-            final double error  = (product.high - 1) + product.low;
-
-            // better accuracy estimate of reciprocal
-            return Double.isNaN(error) ? splitInv : new Split(splitInv.high, splitInv.low - error / full);
-
-        }
-
-        /** Computes this^e.
-         * @param e exponent (beware, here it MUST be > 0; the only exclusion is Long.MIN_VALUE)
-         * @return d^e, split in high and low bits
-         * @since 3.6
-         */
-        private Split pow(final long e) {
-
-            // prepare result
-            Split result = new Split(1);
-
-            // d^(2p)
-            Split d2p = new Split(full, high, low);
-
-            for (long p = e; p != 0; p >>>= 1) {
-
-                if ((p & 0x1) != 0) {
-                    // accurate multiplication result = result * d^(2p) using Veltkamp TwoProduct algorithm
-                    result = result.multiply(d2p);
-                }
-
-                // accurate squaring d^(2(p+1)) = d^(2p) * d^(2p) using Veltkamp TwoProduct algorithm
-                d2p = d2p.multiply(d2p);
-
-            }
-
-            if (Double.isNaN(result.full)) {
-                if (Double.isNaN(full)) {
-                    return Split.NAN;
-                } else {
-                    // some intermediate numbers exceeded capacity,
-                    // and the low order bits became NaN (because infinity - infinity = NaN)
-                    if (AccurateMath.abs(full) < 1) {
-                        return new Split(AccurateMath.copySign(0.0, full), 0.0);
-                    } else if (full < 0 && (e & 0x1) == 1) {
-                        return Split.NEGATIVE_INFINITY;
-                    } else {
-                        return Split.POSITIVE_INFINITY;
-                    }
-                }
-            } else {
-                return result;
-            }
-
-        }
-
-    }
-
-    /**
-     *  Computes sin(x) - x, where |x| < 1/16.
-     *  Use a Remez polynomial approximation.
-     *  @param x a number smaller than 1/16
-     *  @return sin(x) - x
-     */
-    private static double polySine(final double x)
-    {
-        double x2 = x*x;
-
-        double p = 2.7553817452272217E-6;
-        p = p * x2 + -1.9841269659586505E-4;
-        p = p * x2 + 0.008333333333329196;
-        p = p * x2 + -0.16666666666666666;
-        //p *= x2;
-        //p *= x;
-        p = p * x2 * x;
-
-        return p;
-    }
-
-    /**
-     *  Computes cos(x) - 1, where |x| < 1/16.
-     *  Use a Remez polynomial approximation.
-     *  @param x a number smaller than 1/16
-     *  @return cos(x) - 1
-     */
-    private static double polyCosine(double x) {
-        double x2 = x*x;
-
-        double p = 2.479773539153719E-5;
-        p = p * x2 + -0.0013888888689039883;
-        p = p * x2 + 0.041666666666621166;
-        p = p * x2 + -0.49999999999999994;
-        p *= x2;
-
-        return p;
-    }
-
-    /**
-     *  Compute sine over the first quadrant (0 < x < pi/2).
-     *  Use combination of table lookup and rational polynomial expansion.
-     *  @param xa number from which sine is requested
-     *  @param xb extra bits for x (may be 0.0)
-     *  @return sin(xa + xb)
-     */
-    private static double sinQ(double xa, double xb) {
-        int idx = (int) ((xa * 8.0) + 0.5);
-        final double epsilon = xa - EIGHTHS[idx]; //idx*0.125;
-
-        // Table lookups
-        final double sintA = SINE_TABLE_A[idx];
-        final double sintB = SINE_TABLE_B[idx];
-        final double costA = COSINE_TABLE_A[idx];
-        final double costB = COSINE_TABLE_B[idx];
-
-        // Polynomial eval of sin(epsilon), cos(epsilon)
-        double sinEpsA = epsilon;
-        double sinEpsB = polySine(epsilon);
-        final double cosEpsA = 1.0;
-        final double cosEpsB = polyCosine(epsilon);
-
-        // Split epsilon   xa + xb = x
-        final double temp = sinEpsA * HEX_40000000;
-        double temp2 = (sinEpsA + temp) - temp;
-        sinEpsB +=  sinEpsA - temp2;
-        sinEpsA = temp2;
-
-        /* Compute sin(x) by angle addition formula */
-        double result;
-
-        /* Compute the following sum:
-         *
-         * result = sintA + costA*sinEpsA + sintA*cosEpsB + costA*sinEpsB +
-         *          sintB + costB*sinEpsA + sintB*cosEpsB + costB*sinEpsB;
-         *
-         * Ranges of elements
-         *
-         * xxxtA   0            PI/2
-         * xxxtB   -1.5e-9      1.5e-9
-         * sinEpsA -0.0625      0.0625
-         * sinEpsB -6e-11       6e-11
-         * cosEpsA  1.0
-         * cosEpsB  0           -0.0625
-         *
-         */
-
-        //result = sintA + costA*sinEpsA + sintA*cosEpsB + costA*sinEpsB +
-        //          sintB + costB*sinEpsA + sintB*cosEpsB + costB*sinEpsB;
-
-        //result = sintA + sintA*cosEpsB + sintB + sintB * cosEpsB;
-        //result += costA*sinEpsA + costA*sinEpsB + costB*sinEpsA + costB * sinEpsB;
-        double a = 0;
-        double b = 0;
-
-        double t = sintA;
-        double c = a + t;
-        double d = -(c - a - t);
-        a = c;
-        b += d;
-
-        t = costA * sinEpsA;
-        c = a + t;
-        d = -(c - a - t);
-        a = c;
-        b += d;
-
-        b = b + sintA * cosEpsB + costA * sinEpsB;
-        /*
-    t = sintA*cosEpsB;
-    c = a + t;
-    d = -(c - a - t);
-    a = c;
-    b = b + d;
-
-    t = costA*sinEpsB;
-    c = a + t;
-    d = -(c - a - t);
-    a = c;
-    b = b + d;
-         */
-
-        b = b + sintB + costB * sinEpsA + sintB * cosEpsB + costB * sinEpsB;
-        /*
-    t = sintB;
-    c = a + t;
-    d = -(c - a - t);
-    a = c;
-    b = b + d;
-
-    t = costB*sinEpsA;
-    c = a + t;
-    d = -(c - a - t);
-    a = c;
-    b = b + d;
-
-    t = sintB*cosEpsB;
-    c = a + t;
-    d = -(c - a - t);
-    a = c;
-    b = b + d;
-
-    t = costB*sinEpsB;
-    c = a + t;
-    d = -(c - a - t);
-    a = c;
-    b = b + d;
-         */
-
-        if (xb != 0.0) {
-            t = ((costA + costB) * (cosEpsA + cosEpsB) -
-                 (sintA + sintB) * (sinEpsA + sinEpsB)) * xb;  // approximate cosine*xb
-            c = a + t;
-            d = -(c - a - t);
-            a = c;
-            b += d;
-        }
-
-        result = a + b;
-
-        return result;
-    }
-
-    /**
-     * Compute cosine in the first quadrant by subtracting input from PI/2 and
-     * then calling sinQ.  This is more accurate as the input approaches PI/2.
-     *  @param xa number from which cosine is requested
-     *  @param xb extra bits for x (may be 0.0)
-     *  @return cos(xa + xb)
-     */
-    private static double cosQ(double xa, double xb) {
-        final double pi2a = 1.5707963267948966;
-        final double pi2b = 6.123233995736766E-17;
-
-        final double a = pi2a - xa;
-        double b = -(a - pi2a + xa);
-        b += pi2b - xb;
-
-        return sinQ(a, b);
-    }
-
-    /**
-     *  Compute tangent (or cotangent) over the first quadrant.   0 < x < pi/2
-     *  Use combination of table lookup and rational polynomial expansion.
-     *  @param xa number from which sine is requested
-     *  @param xb extra bits for x (may be 0.0)
-     *  @param cotanFlag if true, compute the cotangent instead of the tangent
-     *  @return tan(xa+xb) (or cotangent, depending on cotanFlag)
-     */
-    private static double tanQ(double xa, double xb, boolean cotanFlag) {
-
-        int idx = (int) ((xa * 8.0) + 0.5);
-        final double epsilon = xa - EIGHTHS[idx]; //idx*0.125;
-
-        // Table lookups
-        final double sintA = SINE_TABLE_A[idx];
-        final double sintB = SINE_TABLE_B[idx];
-        final double costA = COSINE_TABLE_A[idx];
-        final double costB = COSINE_TABLE_B[idx];
-
-        // Polynomial eval of sin(epsilon), cos(epsilon)
-        double sinEpsA = epsilon;
-        double sinEpsB = polySine(epsilon);
-        final double cosEpsA = 1.0;
-        final double cosEpsB = polyCosine(epsilon);
-
-        // Split epsilon   xa + xb = x
-        double temp = sinEpsA * HEX_40000000;
-        double temp2 = (sinEpsA + temp) - temp;
-        sinEpsB +=  sinEpsA - temp2;
-        sinEpsA = temp2;
-
-        /* Compute sin(x) by angle addition formula */
-
-        /* Compute the following sum:
-         *
-         * result = sintA + costA*sinEpsA + sintA*cosEpsB + costA*sinEpsB +
-         *          sintB + costB*sinEpsA + sintB*cosEpsB + costB*sinEpsB;
-         *
-         * Ranges of elements
-         *
-         * xxxtA   0            PI/2
-         * xxxtB   -1.5e-9      1.5e-9
-         * sinEpsA -0.0625      0.0625
-         * sinEpsB -6e-11       6e-11
-         * cosEpsA  1.0
-         * cosEpsB  0           -0.0625
-         *
-         */
-
-        //result = sintA + costA*sinEpsA + sintA*cosEpsB + costA*sinEpsB +
-        //          sintB + costB*sinEpsA + sintB*cosEpsB + costB*sinEpsB;
-
-        //result = sintA + sintA*cosEpsB + sintB + sintB * cosEpsB;
-        //result += costA*sinEpsA + costA*sinEpsB + costB*sinEpsA + costB * sinEpsB;
-        double a = 0;
-        double b = 0;
-
-        // Compute sine
-        double t = sintA;
-        double c = a + t;
-        double d = -(c - a - t);
-        a = c;
-        b += d;
-
-        t = costA*sinEpsA;
-        c = a + t;
-        d = -(c - a - t);
-        a = c;
-        b += d;
-
-        b += sintA*cosEpsB + costA*sinEpsB;
-        b += sintB + costB*sinEpsA + sintB*cosEpsB + costB*sinEpsB;
-
-        double sina = a + b;
-        double sinb = -(sina - a - b);
-
-        // Compute cosine
-
-        a = b = c = d = 0.0;
-
-        t = costA*cosEpsA;
-        c = a + t;
-        d = -(c - a - t);
-        a = c;
-        b += d;
-
-        t = -sintA*sinEpsA;
-        c = a + t;
-        d = -(c - a - t);
-        a = c;
-        b += d;
-
-        b += costB*cosEpsA + costA*cosEpsB + costB*cosEpsB;
-        b -= sintB*sinEpsA + sintA*sinEpsB + sintB*sinEpsB;
-
-        double cosa = a + b;
-        double cosb = -(cosa - a - b);
-
-        if (cotanFlag) {
-            double tmp;
-            tmp = cosa; cosa = sina; sina = tmp;
-            tmp = cosb; cosb = sinb; sinb = tmp;
-        }
-
-
-        /* estimate and correct, compute 1.0/(cosa+cosb) */
-        /*
-    double est = (sina+sinb)/(cosa+cosb);
-    double err = (sina - cosa*est) + (sinb - cosb*est);
-    est += err/(cosa+cosb);
-    err = (sina - cosa*est) + (sinb - cosb*est);
-         */
-
-        // f(x) = 1/x,   f'(x) = -1/x^2
-
-        double est = sina/cosa;
-
-        /* Split the estimate to get more accurate read on division rounding */
-        temp = est * HEX_40000000;
-        double esta = (est + temp) - temp;
-        double estb =  est - esta;
-
-        temp = cosa * HEX_40000000;
-        double cosaa = (cosa + temp) - temp;
-        double cosab =  cosa - cosaa;
-
-        //double err = (sina - est*cosa)/cosa;  // Correction for division rounding
-        double err = (sina - esta*cosaa - esta*cosab - estb*cosaa - estb*cosab)/cosa;  // Correction for division rounding
-        err += sinb/cosa;                     // Change in est due to sinb
-        err += -sina * cosb / cosa / cosa;    // Change in est due to cosb
-
-        if (xb != 0.0) {
-            // tan' = 1 + tan^2      cot' = -(1 + cot^2)
-            // Approximate impact of xb
-            double xbadj = xb + est*est*xb;
-            if (cotanFlag) {
-                xbadj = -xbadj;
-            }
-
-            err += xbadj;
-        }
-
-        return est+err;
-    }
-
-    /** Reduce the input argument using the Payne and Hanek method.
-     *  This is good for all inputs 0.0 < x < inf
-     *  Output is remainder after dividing by PI/2
-     *  The result array should contain 3 numbers.
-     *  result[0] is the integer portion, so mod 4 this gives the quadrant.
-     *  result[1] is the upper bits of the remainder
-     *  result[2] is the lower bits of the remainder
-     *
-     * @param x number to reduce
-     * @param result placeholder where to put the result
-     */
-    private static void reducePayneHanek(double x, double result[])
-    {
-        /* Convert input double to bits */
-        long inbits = Double.doubleToRawLongBits(x);
-        int exponent = (int) ((inbits >> 52) & 0x7ff) - 1023;
-
-        /* Convert to fixed point representation */
-        inbits &= 0x000fffffffffffffL;
-        inbits |= 0x0010000000000000L;
-
-        /* Normalize input to be between 0.5 and 1.0 */
-        exponent++;
-        inbits <<= 11;
-
-        /* Based on the exponent, get a shifted copy of recip2pi */
-        long shpi0;
-        long shpiA;
-        long shpiB;
-        int idx = exponent >> 6;
-        int shift = exponent - (idx << 6);
-
-        if (shift != 0) {
-            shpi0 = (idx == 0) ? 0 : (RECIP_2PI[idx-1] << shift);
-            shpi0 |= RECIP_2PI[idx] >>> (64-shift);
-            shpiA = (RECIP_2PI[idx] << shift) | (RECIP_2PI[idx+1] >>> (64-shift));
-            shpiB = (RECIP_2PI[idx+1] << shift) | (RECIP_2PI[idx+2] >>> (64-shift));
-        } else {
-            shpi0 = (idx == 0) ? 0 : RECIP_2PI[idx-1];
-            shpiA = RECIP_2PI[idx];
-            shpiB = RECIP_2PI[idx+1];
-        }
-
-        /* Multiply input by shpiA */
-        long a = inbits >>> 32;
-        long b = inbits & 0xffffffffL;
-
-        long c = shpiA >>> 32;
-        long d = shpiA & 0xffffffffL;
-
-        long ac = a * c;
-        long bd = b * d;
-        long bc = b * c;
-        long ad = a * d;
-
-        long prodB = bd + (ad << 32);
-        long prodA = ac + (ad >>> 32);
-
-        boolean bita = (bd & 0x8000000000000000L) != 0;
-        boolean bitb = (ad & 0x80000000L ) != 0;
-        boolean bitsum = (prodB & 0x8000000000000000L) != 0;
-
-        /* Carry */
-        if ( (bita && bitb) ||
-                ((bita || bitb) && !bitsum) ) {
-            prodA++;
-        }
-
-        bita = (prodB & 0x8000000000000000L) != 0;
-        bitb = (bc & 0x80000000L ) != 0;
-
-        prodB += bc << 32;
-        prodA += bc >>> 32;
-
-        bitsum = (prodB & 0x8000000000000000L) != 0;
-
-        /* Carry */
-        if ( (bita && bitb) ||
-                ((bita || bitb) && !bitsum) ) {
-            prodA++;
-        }
-
-        /* Multiply input by shpiB */
-        c = shpiB >>> 32;
-        d = shpiB & 0xffffffffL;
-        ac = a * c;
-        bc = b * c;
-        ad = a * d;
-
-        /* Collect terms */
-        ac += (bc + ad) >>> 32;
-
-        bita = (prodB & 0x8000000000000000L) != 0;
-        bitb = (ac & 0x8000000000000000L ) != 0;
-        prodB += ac;
-        bitsum = (prodB & 0x8000000000000000L) != 0;
-        /* Carry */
-        if ( (bita && bitb) ||
-                ((bita || bitb) && !bitsum) ) {
-            prodA++;
-        }
-
-        /* Multiply by shpi0 */
-        c = shpi0 >>> 32;
-        d = shpi0 & 0xffffffffL;
-
-        bd = b * d;
-        bc = b * c;
-        ad = a * d;
-
-        prodA += bd + ((bc + ad) << 32);
-
-        /*
-         * prodA, prodB now contain the remainder as a fraction of PI.  We want this as a fraction of
-         * PI/2, so use the following steps:
-         * 1.) multiply by 4.
-         * 2.) do a fixed point muliply by PI/4.
-         * 3.) Convert to floating point.
-         * 4.) Multiply by 2
-         */
-
-        /* This identifies the quadrant */
-        int intPart = (int)(prodA >>> 62);
-
-        /* Multiply by 4 */
-        prodA <<= 2;
-        prodA |= prodB >>> 62;
-        prodB <<= 2;
-
-        /* Multiply by PI/4 */
-        a = prodA >>> 32;
-        b = prodA & 0xffffffffL;
-
-        c = PI_O_4_BITS[0] >>> 32;
-        d = PI_O_4_BITS[0] & 0xffffffffL;
-
-        ac = a * c;
-        bd = b * d;
-        bc = b * c;
-        ad = a * d;
-
-        long prod2B = bd + (ad << 32);
-        long prod2A = ac + (ad >>> 32);
-
-        bita = (bd & 0x8000000000000000L) != 0;
-        bitb = (ad & 0x80000000L ) != 0;
-        bitsum = (prod2B & 0x8000000000000000L) != 0;
-
-        /* Carry */
-        if ( (bita && bitb) ||
-                ((bita || bitb) && !bitsum) ) {
-            prod2A++;
-        }
-
-        bita = (prod2B & 0x8000000000000000L) != 0;
-        bitb = (bc & 0x80000000L ) != 0;
-
-        prod2B += bc << 32;
-        prod2A += bc >>> 32;
-
-        bitsum = (prod2B & 0x8000000000000000L) != 0;
-
-        /* Carry */
-        if ( (bita && bitb) ||
-                ((bita || bitb) && !bitsum) ) {
-            prod2A++;
-        }
-
-        /* Multiply input by pio4bits[1] */
-        c = PI_O_4_BITS[1] >>> 32;
-        d = PI_O_4_BITS[1] & 0xffffffffL;
-        ac = a * c;
-        bc = b * c;
-        ad = a * d;
-
-        /* Collect terms */
-        ac += (bc + ad) >>> 32;
-
-        bita = (prod2B & 0x8000000000000000L) != 0;
-        bitb = (ac & 0x8000000000000000L ) != 0;
-        prod2B += ac;
-        bitsum = (prod2B & 0x8000000000000000L) != 0;
-        /* Carry */
-        if ( (bita && bitb) ||
-                ((bita || bitb) && !bitsum) ) {
-            prod2A++;
-        }
-
-        /* Multiply inputB by pio4bits[0] */
-        a = prodB >>> 32;
-        b = prodB & 0xffffffffL;
-        c = PI_O_4_BITS[0] >>> 32;
-        d = PI_O_4_BITS[0] & 0xffffffffL;
-        ac = a * c;
-        bc = b * c;
-        ad = a * d;
-
-        /* Collect terms */
-        ac += (bc + ad) >>> 32;
-
-        bita = (prod2B & 0x8000000000000000L) != 0;
-        bitb = (ac & 0x8000000000000000L ) != 0;
-        prod2B += ac;
-        bitsum = (prod2B & 0x8000000000000000L) != 0;
-        /* Carry */
-        if ( (bita && bitb) ||
-                ((bita || bitb) && !bitsum) ) {
-            prod2A++;
-        }
-
-        /* Convert to double */
-        double tmpA = (prod2A >>> 12) / TWO_POWER_52;  // High order 52 bits
-        double tmpB = (((prod2A & 0xfffL) << 40) + (prod2B >>> 24)) / TWO_POWER_52 / TWO_POWER_52; // Low bits
-
-        double sumA = tmpA + tmpB;
-        double sumB = -(sumA - tmpA - tmpB);
-
-        /* Multiply by PI/2 and return */
-        result[0] = intPart;
-        result[1] = sumA * 2.0;
-        result[2] = sumB * 2.0;
-    }
-
-    /**
-     * Sine function.
-     *
-     * @param x Argument.
-     * @return sin(x)
-     */
-    public static double sin(double x) {
-        boolean negative = false;
-        int quadrant = 0;
-        double xa;
-        double xb = 0.0;
-
-        /* Take absolute value of the input */
-        xa = x;
-        if (x < 0) {
-            negative = true;
-            xa = -xa;
-        }
-
-        /* Check for zero and negative zero */
-        if (xa == 0.0) {
-            long bits = Double.doubleToRawLongBits(x);
-            if (bits < 0) {
-                return -0.0;
-            }
-            return 0.0;
-        }
-
-        if (xa != xa || xa == Double.POSITIVE_INFINITY) {
-            return Double.NaN;
-        }
-
-        /* Perform any argument reduction */
-        if (xa > 3294198.0) {
-            // PI * (2**20)
-            // Argument too big for CodyWaite reduction.  Must use
-            // PayneHanek.
-            double reduceResults[] = new double[3];
-            reducePayneHanek(xa, reduceResults);
-            quadrant = ((int) reduceResults[0]) & 3;
-            xa = reduceResults[1];
-            xb = reduceResults[2];
-        } else if (xa > 1.5707963267948966) {
-            final CodyWaite cw = new CodyWaite(xa);
-            quadrant = cw.getK() & 3;
-            xa = cw.getRemA();
-            xb = cw.getRemB();
-        }
-
-        if (negative) {
-            quadrant ^= 2;  // Flip bit 1
-        }
-
-        switch (quadrant) {
-            case 0:
-                return sinQ(xa, xb);
-            case 1:
-                return cosQ(xa, xb);
-            case 2:
-                return -sinQ(xa, xb);
-            case 3:
-                return -cosQ(xa, xb);
-            default:
-                return Double.NaN;
-        }
-    }
-
-    /**
-     * Cosine function.
-     *
-     * @param x Argument.
-     * @return cos(x)
-     */
-    public static double cos(double x) {
-        int quadrant = 0;
-
-        /* Take absolute value of the input */
-        double xa = x;
-        if (x < 0) {
-            xa = -xa;
-        }
-
-        if (xa != xa || xa == Double.POSITIVE_INFINITY) {
-            return Double.NaN;
-        }
-
-        /* Perform any argument reduction */
-        double xb = 0;
-        if (xa > 3294198.0) {
-            // PI * (2**20)
-            // Argument too big for CodyWaite reduction.  Must use
-            // PayneHanek.
-            double reduceResults[] = new double[3];
-            reducePayneHanek(xa, reduceResults);
-            quadrant = ((int) reduceResults[0]) & 3;
-            xa = reduceResults[1];
-            xb = reduceResults[2];
-        } else if (xa > 1.5707963267948966) {
-            final CodyWaite cw = new CodyWaite(xa);
-            quadrant = cw.getK() & 3;
-            xa = cw.getRemA();
-            xb = cw.getRemB();
-        }
-
-        //if (negative)
-        //  quadrant = (quadrant + 2) % 4;
-
-        switch (quadrant) {
-            case 0:
-                return cosQ(xa, xb);
-            case 1:
-                return -sinQ(xa, xb);
-            case 2:
-                return -cosQ(xa, xb);
-            case 3:
-                return sinQ(xa, xb);
-            default:
-                return Double.NaN;
-        }
-    }
-
-    /**
-     * Tangent function.
-     *
-     * @param x Argument.
-     * @return tan(x)
-     */
-    public static double tan(double x) {
-        boolean negative = false;
-        int quadrant = 0;
-
-        /* Take absolute value of the input */
-        double xa = x;
-        if (x < 0) {
-            negative = true;
-            xa = -xa;
-        }
-
-        /* Check for zero and negative zero */
-        if (xa == 0.0) {
-            long bits = Double.doubleToRawLongBits(x);
-            if (bits < 0) {
-                return -0.0;
-            }
-            return 0.0;
-        }
-
-        if (xa != xa || xa == Double.POSITIVE_INFINITY) {
-            return Double.NaN;
-        }
-
-        /* Perform any argument reduction */
-        double xb = 0;
-        if (xa > 3294198.0) {
-            // PI * (2**20)
-            // Argument too big for CodyWaite reduction.  Must use
-            // PayneHanek.
-            double reduceResults[] = new double[3];
-            reducePayneHanek(xa, reduceResults);
-            quadrant = ((int) reduceResults[0]) & 3;
-            xa = reduceResults[1];
-            xb = reduceResults[2];
-        } else if (xa > 1.5707963267948966) {
-            final CodyWaite cw = new CodyWaite(xa);
-            quadrant = cw.getK() & 3;
-            xa = cw.getRemA();
-            xb = cw.getRemB();
-        }
-
-        if (xa > 1.5) {
-            // Accuracy suffers between 1.5 and PI/2
-            final double pi2a = 1.5707963267948966;
-            final double pi2b = 6.123233995736766E-17;
-
-            final double a = pi2a - xa;
-            double b = -(a - pi2a + xa);
-            b += pi2b - xb;
-
-            xa = a + b;
-            xb = -(xa - a - b);
-            quadrant ^= 1;
-            negative ^= true;
-        }
-
-        double result;
-        if ((quadrant & 1) == 0) {
-            result = tanQ(xa, xb, false);
-        } else {
-            result = -tanQ(xa, xb, true);
-        }
-
-        if (negative) {
-            result = -result;
-        }
-
-        return result;
-    }
-
-    /**
-     * Arctangent function
-     *  @param x a number
-     *  @return atan(x)
-     */
-    public static double atan(double x) {
-        return atan(x, 0.0, false);
-    }
-
-    /** Internal helper function to compute arctangent.
-     * @param xa number from which arctangent is requested
-     * @param xb extra bits for x (may be 0.0)
-     * @param leftPlane if true, result angle must be put in the left half plane
-     * @return atan(xa + xb) (or angle shifted by {@code PI} if leftPlane is true)
-     */
-    private static double atan(double xa, double xb, boolean leftPlane) {
-        if (xa == 0.0) { // Matches +/- 0.0; return correct sign
-            return leftPlane ? copySign(Math.PI, xa) : xa;
-        }
-
-        final boolean negate;
-        if (xa < 0) {
-            // negative
-            xa = -xa;
-            xb = -xb;
-            negate = true;
-        } else {
-            negate = false;
-        }
-
-        if (xa > 1.633123935319537E16) { // Very large input
-            return (negate ^ leftPlane) ? (-Math.PI * F_1_2) : (Math.PI * F_1_2);
-        }
-
-        /* Estimate the closest tabulated arctan value, compute eps = xa-tangentTable */
-        final int idx;
-        if (xa < 1) {
-            idx = (int) (((-1.7168146928204136 * xa * xa + 8.0) * xa) + 0.5);
-        } else {
-            final double oneOverXa = 1 / xa;
-            idx = (int) (-((-1.7168146928204136 * oneOverXa * oneOverXa + 8.0) * oneOverXa) + 13.07);
-        }
-
-        final double ttA = TANGENT_TABLE_A[idx];
-        final double ttB = TANGENT_TABLE_B[idx];
-
-        double epsA = xa - ttA;
-        double epsB = -(epsA - xa + ttA);
-        epsB += xb - ttB;
-
-        double temp = epsA + epsB;
-        epsB = -(temp - epsA - epsB);
-        epsA = temp;
-
-        /* Compute eps = eps / (1.0 + xa*tangent) */
-        temp = xa * HEX_40000000;
-        double ya = xa + temp - temp;
-        double yb = xb + xa - ya;
-        xa = ya;
-        xb += yb;
-
-        //if (idx > 8 || idx == 0)
-        if (idx == 0) {
-            /* If the slope of the arctan is gentle enough (< 0.45), this approximation will suffice */
-            //double denom = 1.0 / (1.0 + xa*tangentTableA[idx] + xb*tangentTableA[idx] + xa*tangentTableB[idx] + xb*tangentTableB[idx]);
-            final double denom = 1d / (1d + (xa + xb) * (ttA + ttB));
-            //double denom = 1.0 / (1.0 + xa*tangentTableA[idx]);
-            ya = epsA * denom;
-            yb = epsB * denom;
-        } else {
-            double temp2 = xa * ttA;
-            double za = 1d + temp2;
-            double zb = -(za - 1d - temp2);
-            temp2 = xb * ttA + xa * ttB;
-            temp = za + temp2;
-            zb += -(temp - za - temp2);
-            za = temp;
-
-            zb += xb * ttB;
-            ya = epsA / za;
-
-            temp = ya * HEX_40000000;
-            final double yaa = (ya + temp) - temp;
-            final double yab = ya - yaa;
-
-            temp = za * HEX_40000000;
-            final double zaa = (za + temp) - temp;
-            final double zab = za - zaa;
-
-            /* Correct for rounding in division */
-            yb = (epsA - yaa * zaa - yaa * zab - yab * zaa - yab * zab) / za;
-
-            yb += -epsA * zb / za / za;
-            yb += epsB / za;
-        }
-
-
-        epsA = ya;
-        epsB = yb;
-
-        /* Evaluate polynomial */
-        final double epsA2 = epsA * epsA;
-
-        /*
-    yb = -0.09001346640161823;
-    yb = yb * epsA2 + 0.11110718400605211;
-    yb = yb * epsA2 + -0.1428571349122913;
-    yb = yb * epsA2 + 0.19999999999273194;
-    yb = yb * epsA2 + -0.33333333333333093;
-    yb = yb * epsA2 * epsA;
-         */
-
-        yb = 0.07490822288864472;
-        yb = yb * epsA2 - 0.09088450866185192;
-        yb = yb * epsA2 + 0.11111095942313305;
-        yb = yb * epsA2 - 0.1428571423679182;
-        yb = yb * epsA2 + 0.19999999999923582;
-        yb = yb * epsA2 - 0.33333333333333287;
-        yb = yb * epsA2 * epsA;
-
-
-        ya = epsA;
-
-        temp = ya + yb;
-        yb = -(temp - ya - yb);
-        ya = temp;
-
-        /* Add in effect of epsB.   atan'(x) = 1/(1+x^2) */
-        yb += epsB / (1d + epsA * epsA);
-
-        final double eighths = EIGHTHS[idx];
-
-        //result = yb + eighths[idx] + ya;
-        double za = eighths + ya;
-        double zb = -(za - eighths - ya);
-        temp = za + yb;
-        zb += -(temp - za - yb);
-        za = temp;
-
-        double result = za + zb;
-
-        if (leftPlane) {
-            // Result is in the left plane
-            final double resultb = -(result - za - zb);
-            final double pia = 1.5707963267948966 * 2;
-            final double pib = 6.123233995736766E-17 * 2;
-
-            za = pia - result;
-            zb = -(za - pia + result);
-            zb += pib - resultb;
-
-            result = za + zb;
-        }
-
-
-        if (negate ^ leftPlane) {
-            result = -result;
-        }
-
-        return result;
-    }
-
-    /**
-     * Two arguments arctangent function
-     * @param y ordinate
-     * @param x abscissa
-     * @return phase angle of point (x,y) between {@code -PI} and {@code PI}
-     */
-    public static double atan2(double y, double x) {
-        if (Double.isNaN(x) || Double.isNaN(y)) {
-            return Double.NaN;
-        }
-
-        if (y == 0) {
-            final double result = x * y;
-            final double invx = 1d / x;
-            final double invy = 1d / y;
-
-            if (invx == 0) { // X is infinite
-                if (x > 0) {
-                    return y; // return +/- 0.0
-                } else {
-                    return copySign(Math.PI, y);
-                }
-            }
-
-            if (x < 0 || invx < 0) {
-                if (y < 0 || invy < 0) {
-                    return -Math.PI;
-                } else {
-                    return Math.PI;
-                }
-            } else {
-                return result;
-            }
-        }
-
-        // y cannot now be zero
-
-        if (y == Double.POSITIVE_INFINITY) {
-            if (x == Double.POSITIVE_INFINITY) {
-                return Math.PI * F_1_4;
-            }
-
-            if (x == Double.NEGATIVE_INFINITY) {
-                return Math.PI * F_3_4;
-            }
-
-            return Math.PI * F_1_2;
-        }
-
-        if (y == Double.NEGATIVE_INFINITY) {
-            if (x == Double.POSITIVE_INFINITY) {
-                return -Math.PI * F_1_4;
-            }
-
-            if (x == Double.NEGATIVE_INFINITY) {
-                return -Math.PI * F_3_4;
-            }
-
-            return -Math.PI * F_1_2;
-        }
-
-        if (x == Double.POSITIVE_INFINITY) {
-            if (y > 0 || 1 / y > 0) {
-                return 0d;
-            }
-
-            if (y < 0 || 1 / y < 0) {
-                return -0d;
-            }
-        }
-
-        if (x == Double.NEGATIVE_INFINITY)
-        {
-            if (y > 0.0 || 1 / y > 0.0) {
-                return Math.PI;
-            }
-
-            if (y < 0 || 1 / y < 0) {
-                return -Math.PI;
-            }
-        }
-
-        // Neither y nor x can be infinite or NAN here
-
-        if (x == 0) {
-            if (y > 0 || 1 / y > 0) {
-                return Math.PI * F_1_2;
-            }
-
-            if (y < 0 || 1 / y < 0) {
-                return -Math.PI * F_1_2;
-            }
-        }
-
-        // Compute ratio r = y/x
-        final double r = y / x;
-        if (Double.isInfinite(r)) { // bypass calculations that can create NaN
-            return atan(r, 0, x < 0);
-        }
-
-        double ra = doubleHighPart(r);
-        double rb = r - ra;
-
-        // Split x
-        final double xa = doubleHighPart(x);
-        final double xb = x - xa;
-
-        rb += (y - ra * xa - ra * xb - rb * xa - rb * xb) / x;
-
-        final double temp = ra + rb;
-        rb = -(temp - ra - rb);
-        ra = temp;
-
-        if (ra == 0) { // Fix up the sign so atan works correctly
-            ra = copySign(0d, y);
-        }
-
-        // Call atan
-        final double result = atan(ra, rb, x < 0);
-
-        return result;
-    }
-
-    /** Compute the arc sine of a number.
-     * @param x number on which evaluation is done
-     * @return arc sine of x
-     */
-    public static double asin(double x) {
-      if (Double.isNaN(x)) {
-          return Double.NaN;
-      }
-
-      if (x > 1.0 || x < -1.0) {
-          return Double.NaN;
-      }
-
-      if (x == 1.0) {
-          return Math.PI/2.0;
-      }
-
-      if (x == -1.0) {
-          return -Math.PI/2.0;
-      }
-
-      if (x == 0.0) { // Matches +/- 0.0; return correct sign
-          return x;
-      }
-
-      /* Compute asin(x) = atan(x/sqrt(1-x*x)) */
-
-      /* Split x */
-      double temp = x * HEX_40000000;
-      final double xa = x + temp - temp;
-      final double xb = x - xa;
-
-      /* Square it */
-      double ya = xa*xa;
-      double yb = xa*xb*2.0 + xb*xb;
-
-      /* Subtract from 1 */
-      ya = -ya;
-      yb = -yb;
-
-      double za = 1.0 + ya;
-      double zb = -(za - 1.0 - ya);
-
-      temp = za + yb;
-      zb += -(temp - za - yb);
-      za = temp;
-
-      /* Square root */
-      double y;
-      y = sqrt(za);
-      temp = y * HEX_40000000;
-      ya = y + temp - temp;
-      yb = y - ya;
-
-      /* Extend precision of sqrt */
-      yb += (za - ya*ya - 2*ya*yb - yb*yb) / (2.0*y);
-
-      /* Contribution of zb to sqrt */
-      double dx = zb / (2.0*y);
-
-      // Compute ratio r = x/y
-      double r = x/y;
-      temp = r * HEX_40000000;
-      double ra = r + temp - temp;
-      double rb = r - ra;
-
-      rb += (x - ra*ya - ra*yb - rb*ya - rb*yb) / y;  // Correct for rounding in division
-      rb += -x * dx / y / y;  // Add in effect additional bits of sqrt.
-
-      temp = ra + rb;
-      rb = -(temp - ra - rb);
-      ra = temp;
-
-      return atan(ra, rb, false);
-    }
-
-    /** Compute the arc cosine of a number.
-     * @param x number on which evaluation is done
-     * @return arc cosine of x
-     */
-    public static double acos(double x) {
-      if (Double.isNaN(x)) {
-          return Double.NaN;
-      }
-
-      if (x > 1.0 || x < -1.0) {
-          return Double.NaN;
-      }
-
-      if (x == -1.0) {
-          return Math.PI;
-      }
-
-      if (x == 1.0) {
-          return 0.0;
-      }
-
-      if (x == 0) {
-          return Math.PI/2.0;
-      }
-
-      /* Compute acos(x) = atan(sqrt(1-x*x)/x) */
-
-      /* Split x */
-      double temp = x * HEX_40000000;
-      final double xa = x + temp - temp;
-      final double xb = x - xa;
-
-      /* Square it */
-      double ya = xa*xa;
-      double yb = xa*xb*2.0 + xb*xb;
-
-      /* Subtract from 1 */
-      ya = -ya;
-      yb = -yb;
-
-      double za = 1.0 + ya;
-      double zb = -(za - 1.0 - ya);
-
-      temp = za + yb;
-      zb += -(temp - za - yb);
-      za = temp;
-
-      /* Square root */
-      double y = sqrt(za);
-      temp = y * HEX_40000000;
-      ya = y + temp - temp;
-      yb = y - ya;
-
-      /* Extend precision of sqrt */
-      yb += (za - ya*ya - 2*ya*yb - yb*yb) / (2.0*y);
-
-      /* Contribution of zb to sqrt */
-      yb += zb / (2.0*y);
-      y = ya+yb;
-      yb = -(y - ya - yb);
-
-      // Compute ratio r = y/x
-      double r = y/x;
-
-      // Did r overflow?
-      if (Double.isInfinite(r)) { // x is effectively zero
-          return Math.PI/2; // so return the appropriate value
-      }
-
-      double ra = doubleHighPart(r);
-      double rb = r - ra;
-
-      rb += (y - ra*xa - ra*xb - rb*xa - rb*xb) / x;  // Correct for rounding in division
-      rb += yb / x;  // Add in effect additional bits of sqrt.
-
-      temp = ra + rb;
-      rb = -(temp - ra - rb);
-      ra = temp;
-
-      return atan(ra, rb, x<0);
-    }
-
-    /** Compute the cubic root of a number.
-     * @param x number on which evaluation is done
-     * @return cubic root of x
-     */
-    public static double cbrt(double x) {
-      /* Convert input double to bits */
-      long inbits = Double.doubleToRawLongBits(x);
-      int exponent = (int) ((inbits >> 52) & 0x7ff) - 1023;
-      boolean subnormal = false;
-
-      if (exponent == -1023) {
-          if (x == 0) {
-              return x;
-          }
-
-          /* Subnormal, so normalize */
-          subnormal = true;
-          x *= 1.8014398509481984E16;  // 2^54
-          inbits = Double.doubleToRawLongBits(x);
-          exponent = (int) ((inbits >> 52) & 0x7ff) - 1023;
-      }
-
-      if (exponent == 1024) {
-          // Nan or infinity.  Don't care which.
-          return x;
-      }
-
-      /* Divide the exponent by 3 */
-      int exp3 = exponent / 3;
-
-      /* p2 will be the nearest power of 2 to x with its exponent divided by 3 */
-      double p2 = Double.longBitsToDouble((inbits & 0x8000000000000000L) |
-                                          (long)(((exp3 + 1023) & 0x7ff)) << 52);
-
-      /* This will be a number between 1 and 2 */
-      final double mant = Double.longBitsToDouble((inbits & 0x000fffffffffffffL) | 0x3ff0000000000000L);
-
-      /* Estimate the cube root of mant by polynomial */
-      double est = -0.010714690733195933;
-      est = est * mant + 0.0875862700108075;
-      est = est * mant + -0.3058015757857271;
-      est = est * mant + 0.7249995199969751;
-      est = est * mant + 0.5039018405998233;
-
-      est *= CBRTTWO[exponent % 3 + 2];
-
-      // est should now be good to about 15 bits of precision.   Do 2 rounds of
-      // Newton's method to get closer,  this should get us full double precision
-      // Scale down x for the purpose of doing newtons method.  This avoids over/under flows.
-      final double xs = x / (p2*p2*p2);
-      est += (xs - est*est*est) / (3*est*est);
-      est += (xs - est*est*est) / (3*est*est);
-
-      // Do one round of Newton's method in extended precision to get the last bit right.
-      double temp = est * HEX_40000000;
-      double ya = est + temp - temp;
-      double yb = est - ya;
-
-      double za = ya * ya;
-      double zb = ya * yb * 2.0 + yb * yb;
-      temp = za * HEX_40000000;
-      double temp2 = za + temp - temp;
-      zb += za - temp2;
-      za = temp2;
-
-      zb = za * yb + ya * zb + zb * yb;
-      za *= ya;
-
-      double na = xs - za;
-      double nb = -(na - xs + za);
-      nb -= zb;
-
-      est += (na+nb)/(3*est*est);
-
-      /* Scale by a power of two, so this is exact. */
-      est *= p2;
-
-      if (subnormal) {
-          est *= 3.814697265625E-6;  // 2^-18
-      }
-
-      return est;
-    }
-
-    /**
-     *  Convert degrees to radians, with error of less than 0.5 ULP
-     *  @param x angle in degrees
-     *  @return x converted into radians
-     */
-    public static double toRadians(double x)
-    {
-        if (Double.isInfinite(x) || x == 0.0) { // Matches +/- 0.0; return correct sign
-            return x;
-        }
-
-        // These are PI/180 split into high and low order bits
-        final double facta = 0.01745329052209854;
-        final double factb = 1.997844754509471E-9;
-
-        double xa = doubleHighPart(x);
-        double xb = x - xa;
-
-        double result = xb * factb + xb * facta + xa * factb + xa * facta;
-        if (result == 0) {
-            result *= x; // ensure correct sign if calculation underflows
-        }
-        return result;
-    }
-
-    /**
-     *  Convert radians to degrees, with error of less than 0.5 ULP
-     *  @param x angle in radians
-     *  @return x converted into degrees
-     */
-    public static double toDegrees(double x)
-    {
-        if (Double.isInfinite(x) || x == 0.0) { // Matches +/- 0.0; return correct sign
-            return x;
-        }
-
-        // These are 180/PI split into high and low order bits
-        final double facta = 57.2957763671875;
-        final double factb = 3.145894820876798E-6;
-
-        double xa = doubleHighPart(x);
-        double xb = x - xa;
-
-        return xb * factb + xb * facta + xa * factb + xa * facta;
-    }
-
-    /**
-     * Absolute value.
-     * @param x number from which absolute value is requested
-     * @return abs(x)
-     */
-    public static int abs(final int x) {
-        final int i = x >>> 31;
-        return (x ^ (~i + 1)) + i;
-    }
-
-    /**
-     * Absolute value.
-     * @param x number from which absolute value is requested
-     * @return abs(x)
-     */
-    public static long abs(final long x) {
-        final long l = x >>> 63;
-        // l is one if x negative zero else
-        // ~l+1 is zero if x is positive, -1 if x is negative
-        // x^(~l+1) is x is x is positive, ~x if x is negative
-        // add around
-        return (x ^ (~l + 1)) + l;
-    }
-
-    /**
-     * Absolute value.
-     * @param x number from which absolute value is requested
-     * @return abs(x)
-     */
-    public static float abs(final float x) {
-        return Float.intBitsToFloat(MASK_NON_SIGN_INT & Float.floatToRawIntBits(x));
-    }
-
-    /**
-     * Absolute value.
-     * @param x number from which absolute value is requested
-     * @return abs(x)
-     */
-    public static double abs(double x) {
-        return Double.longBitsToDouble(MASK_NON_SIGN_LONG & Double.doubleToRawLongBits(x));
-    }
-
-    /**
-     * Compute least significant bit (Unit in Last Position) for a number.
-     * @param x number from which ulp is requested
-     * @return ulp(x)
-     */
-    public static double ulp(double x) {
-        if (Double.isInfinite(x)) {
-            return Double.POSITIVE_INFINITY;
-        }
-        return abs(x - Double.longBitsToDouble(Double.doubleToRawLongBits(x) ^ 1));
-    }
-
-    /**
-     * Compute least significant bit (Unit in Last Position) for a number.
-     * @param x number from which ulp is requested
-     * @return ulp(x)
-     */
-    public static float ulp(float x) {
-        if (Float.isInfinite(x)) {
-            return Float.POSITIVE_INFINITY;
-        }
-        return abs(x - Float.intBitsToFloat(Float.floatToIntBits(x) ^ 1));
-    }
-
-    /**
-     * Multiply a double number by a power of 2.
-     * @param d number to multiply
-     * @param n power of 2
-     * @return d &times; 2<sup>n</sup>
-     */
-    public static double scalb(final double d, final int n) {
-
-        // first simple and fast handling when 2^n can be represented using normal numbers
-        if ((n > -1023) && (n < 1024)) {
-            return d * Double.longBitsToDouble(((long) (n + 1023)) << 52);
-        }
-
-        // handle special cases
-        if (Double.isNaN(d) || Double.isInfinite(d) || (d == 0)) {
-            return d;
-        }
-        if (n < -2098) {
-            return (d > 0) ? 0.0 : -0.0;
-        }
-        if (n > 2097) {
-            return (d > 0) ? Double.POSITIVE_INFINITY : Double.NEGATIVE_INFINITY;
-        }
-
-        // decompose d
-        final long bits = Double.doubleToRawLongBits(d);
-        final long sign = bits & 0x8000000000000000L;
-        int  exponent   = ((int) (bits >>> 52)) & 0x7ff;
-        long mantissa   = bits & 0x000fffffffffffffL;
-
-        // compute scaled exponent
-        int scaledExponent = exponent + n;
-
-        if (n < 0) {
-            // we are really in the case n <= -1023
-            if (scaledExponent > 0) {
-                // both the input and the result are normal numbers, we only adjust the exponent
-                return Double.longBitsToDouble(sign | (((long) scaledExponent) << 52) | mantissa);
-            } else if (scaledExponent > -53) {
-                // the input is a normal number and the result is a subnormal number
-
-                // recover the hidden mantissa bit
-                mantissa |= 1L << 52;
-
-                // scales down complete mantissa, hence losing least significant bits
-                final long mostSignificantLostBit = mantissa & (1L << (-scaledExponent));
-                mantissa >>>= 1 - scaledExponent;
-                if (mostSignificantLostBit != 0) {
-                    // we need to add 1 bit to round up the result
-                    mantissa++;
-                }
-                return Double.longBitsToDouble(sign | mantissa);
-
-            } else {
-                // no need to compute the mantissa, the number scales down to 0
-                return (sign == 0L) ? 0.0 : -0.0;
-            }
-        } else {
-            // we are really in the case n >= 1024
-            if (exponent == 0) {
-
-                // the input number is subnormal, normalize it
-                while ((mantissa >>> 52) != 1) {
-                    mantissa <<= 1;
-                    --scaledExponent;
-                }
-                ++scaledExponent;
-                mantissa &= 0x000fffffffffffffL;
-
-                if (scaledExponent < 2047) {
-                    return Double.longBitsToDouble(sign | (((long) scaledExponent) << 52) | mantissa);
-                } else {
-                    return (sign == 0L) ? Double.POSITIVE_INFINITY : Double.NEGATIVE_INFINITY;
-                }
-
-            } else if (scaledExponent < 2047) {
-                return Double.longBitsToDouble(sign | (((long) scaledExponent) << 52) | mantissa);
-            } else {
-                return (sign == 0L) ? Double.POSITIVE_INFINITY : Double.NEGATIVE_INFINITY;
-            }
-        }
-
-    }
-
-    /**
-     * Multiply a float number by a power of 2.
-     * @param f number to multiply
-     * @param n power of 2
-     * @return f &times; 2<sup>n</sup>
-     */
-    public static float scalb(final float f, final int n) {
-
-        // first simple and fast handling when 2^n can be represented using normal numbers
-        if ((n > -127) && (n < 128)) {
-            return f * Float.intBitsToFloat((n + 127) << 23);
-        }
-
-        // handle special cases
-        if (Float.isNaN(f) || Float.isInfinite(f) || (f == 0f)) {
-            return f;
-        }
-        if (n < -277) {
-            return (f > 0) ? 0.0f : -0.0f;
-        }
-        if (n > 276) {
-            return (f > 0) ? Float.POSITIVE_INFINITY : Float.NEGATIVE_INFINITY;
-        }
-
-        // decompose f
-        final int bits = Float.floatToIntBits(f);
-        final int sign = bits & 0x80000000;
-        int  exponent  = (bits >>> 23) & 0xff;
-        int mantissa   = bits & 0x007fffff;
-
-        // compute scaled exponent
-        int scaledExponent = exponent + n;
-
-        if (n < 0) {
-            // we are really in the case n <= -127
-            if (scaledExponent > 0) {
-                // both the input and the result are normal numbers, we only adjust the exponent
-                return Float.intBitsToFloat(sign | (scaledExponent << 23) | mantissa);
-            } else if (scaledExponent > -24) {
-                // the input is a normal number and the result is a subnormal number
-
-                // recover the hidden mantissa bit
-                mantissa |= 1 << 23;
-
-                // scales down complete mantissa, hence losing least significant bits
-                final int mostSignificantLostBit = mantissa & (1 << (-scaledExponent));
-                mantissa >>>= 1 - scaledExponent;
-                if (mostSignificantLostBit != 0) {
-                    // we need to add 1 bit to round up the result
-                    mantissa++;
-                }
-                return Float.intBitsToFloat(sign | mantissa);
-
-            } else {
-                // no need to compute the mantissa, the number scales down to 0
-                return (sign == 0) ? 0.0f : -0.0f;
-            }
-        } else {
-            // we are really in the case n >= 128
-            if (exponent == 0) {
-
-                // the input number is subnormal, normalize it
-                while ((mantissa >>> 23) != 1) {
-                    mantissa <<= 1;
-                    --scaledExponent;
-                }
-                ++scaledExponent;
-                mantissa &= 0x007fffff;
-
-                if (scaledExponent < 255) {
-                    return Float.intBitsToFloat(sign | (scaledExponent << 23) | mantissa);
-                } else {
-                    return (sign == 0) ? Float.POSITIVE_INFINITY : Float.NEGATIVE_INFINITY;
-                }
-
-            } else if (scaledExponent < 255) {
-                return Float.intBitsToFloat(sign | (scaledExponent << 23) | mantissa);
-            } else {
-                return (sign == 0) ? Float.POSITIVE_INFINITY : Float.NEGATIVE_INFINITY;
-            }
-        }
-
-    }
-
-    /**
-     * Get the next machine representable number after a number, moving
-     * in the direction of another number.
-     * <p>
-     * The ordering is as follows (increasing):
-     * <ul>
-     * <li>-INFINITY</li>
-     * <li>-MAX_VALUE</li>
-     * <li>-MIN_VALUE</li>
-     * <li>-0.0</li>
-     * <li>+0.0</li>
-     * <li>+MIN_VALUE</li>
-     * <li>+MAX_VALUE</li>
-     * <li>+INFINITY</li>
-     * <li></li>
-     * </ul>
-     * <p>
-     * If arguments compare equal, then the second argument is returned.
-     * <p>
-     * If {@code direction} is greater than {@code d},
-     * the smallest machine representable number strictly greater than
-     * {@code d} is returned; if less, then the largest representable number
-     * strictly less than {@code d} is returned.</p>
-     * <p>
-     * If {@code d} is infinite and direction does not
-     * bring it back to finite numbers, it is returned unchanged.</p>
-     *
-     * @param d base number
-     * @param direction (the only important thing is whether
-     * {@code direction} is greater or smaller than {@code d})
-     * @return the next machine representable number in the specified direction
-     */
-    public static double nextAfter(double d, double direction) {
-
-        // handling of some important special cases
-        if (Double.isNaN(d) || Double.isNaN(direction)) {
-            return Double.NaN;
-        } else if (d == direction) {
-            return direction;
-        } else if (Double.isInfinite(d)) {
-            return (d < 0) ? -Double.MAX_VALUE : Double.MAX_VALUE;
-        } else if (d == 0) {
-            return (direction < 0) ? -Double.MIN_VALUE : Double.MIN_VALUE;
-        }
-        // special cases MAX_VALUE to infinity and  MIN_VALUE to 0
-        // are handled just as normal numbers
-        // can use raw bits since already dealt with infinity and NaN
-        final long bits = Double.doubleToRawLongBits(d);
-        final long sign = bits & 0x8000000000000000L;
-        if ((direction < d) ^ (sign == 0L)) {
-            return Double.longBitsToDouble(sign | ((bits & 0x7fffffffffffffffL) + 1));
-        } else {
-            return Double.longBitsToDouble(sign | ((bits & 0x7fffffffffffffffL) - 1));
-        }
-
-    }
-
-    /**
-     * Get the next machine representable number after a number, moving
-     * in the direction of another number.
-     * <p>
-     * The ordering is as follows (increasing):
-     * <ul>
-     * <li>-INFINITY</li>
-     * <li>-MAX_VALUE</li>
-     * <li>-MIN_VALUE</li>
-     * <li>-0.0</li>
-     * <li>+0.0</li>
-     * <li>+MIN_VALUE</li>
-     * <li>+MAX_VALUE</li>
-     * <li>+INFINITY</li>
-     * <li></li>
-     * </ul>
-     * <p>
-     * If arguments compare equal, then the second argument is returned.
-     * <p>
-     * If {@code direction} is greater than {@code f},
-     * the smallest machine representable number strictly greater than
-     * {@code f} is returned; if less, then the largest representable number
-     * strictly less than {@code f} is returned.</p>
-     * <p>
-     * If {@code f} is infinite and direction does not
-     * bring it back to finite numbers, it is returned unchanged.</p>
-     *
-     * @param f base number
-     * @param direction (the only important thing is whether
-     * {@code direction} is greater or smaller than {@code f})
-     * @return the next machine representable number in the specified direction
-     */
-    public static float nextAfter(final float f, final double direction) {
-
-        // handling of some important special cases
-        if (Double.isNaN(f) || Double.isNaN(direction)) {
-            return Float.NaN;
-        } else if (f == direction) {
-            return (float) direction;
-        } else if (Float.isInfinite(f)) {
-            return (f < 0f) ? -Float.MAX_VALUE : Float.MAX_VALUE;
-        } else if (f == 0f) {
-            return (direction < 0) ? -Float.MIN_VALUE : Float.MIN_VALUE;
-        }
-        // special cases MAX_VALUE to infinity and  MIN_VALUE to 0
-        // are handled just as normal numbers
-
-        final int bits = Float.floatToIntBits(f);
-        final int sign = bits & 0x80000000;
-        if ((direction < f) ^ (sign == 0)) {
-            return Float.intBitsToFloat(sign | ((bits & 0x7fffffff) + 1));
-        } else {
-            return Float.intBitsToFloat(sign | ((bits & 0x7fffffff) - 1));
-        }
-
-    }
-
-    /** Get the largest whole number smaller than x.
-     * @param x number from which floor is requested
-     * @return a double number f such that f is an integer f &lt;= x &lt; f + 1.0
-     */
-    public static double floor(double x) {
-        long y;
-
-        if (Double.isNaN(x)) {
-            return x;
-        }
-
-        if (x >= TWO_POWER_52 || x <= -TWO_POWER_52) {
-            return x;
-        }
-
-        y = (long) x;
-        if (x < 0 && y != x) {
-            y--;
-        }
-
-        if (y == 0) {
-            return x*y;
-        }
-
-        return y;
-    }
-
-    /** Get the smallest whole number larger than x.
-     * @param x number from which ceil is requested
-     * @return a double number c such that c is an integer c - 1.0 &lt; x &lt;= c
-     */
-    public static double ceil(double x) {
-        double y;
-
-        if (Double.isNaN(x)) {
-            return x;
-        }
-
-        y = floor(x);
-        if (y == x) {
-            return y;
-        }
-
-        y += 1.0;
-
-        if (y == 0) {
-            return x*y;
-        }
-
-        return y;
-    }
-
-    /** Get the whole number that is the nearest to x, or the even one if x is exactly half way between two integers.
-     * @param x number from which nearest whole number is requested
-     * @return a double number r such that r is an integer r - 0.5 &lt;= x &lt;= r + 0.5
-     */
-    public static double rint(double x) {
-        double y = floor(x);
-        double d = x - y;
-
-        if (d > 0.5) {
-            if (y == -1.0) {
-                return -0.0; // Preserve sign of operand
-            }
-            return y+1.0;
-        }
-        if (d < 0.5) {
-            return y;
-        }
-
-        /* half way, round to even */
-        long z = (long) y;
-        return (z & 1) == 0 ? y : y + 1.0;
-    }
-
-    /** Get the closest long to x.
-     * @param x number from which closest long is requested
-     * @return closest long to x
-     */
-    public static long round(double x) {
-        final long bits = Double.doubleToRawLongBits(x);
-        final int biasedExp = ((int)(bits>>52)) & 0x7ff;
-        // Shift to get rid of bits past comma except first one: will need to
-        // 1-shift to the right to end up with correct magnitude.
-        final int shift = (52 - 1 + Double.MAX_EXPONENT) - biasedExp;
-        if ((shift & -64) == 0) {
-            // shift in [0,63], so unbiased exp in [-12,51].
-            long extendedMantissa = 0x0010000000000000L | (bits & 0x000fffffffffffffL);
-            if (bits < 0) {
-                extendedMantissa = -extendedMantissa;
-            }
-            // If value is positive and first bit past comma is 0, rounding
-            // to lower integer, else to upper one, which is what "+1" and
-            // then ">>1" do.
-            return ((extendedMantissa >> shift) + 1L) >> 1;
-        } else {
-            // +-Infinity, NaN, or a mathematical integer.
-            return (long) x;
-        }
-    }
-
-    /** Get the closest int to x.
-     * @param x number from which closest int is requested
-     * @return closest int to x
-     */
-    public static int round(final float x) {
-        final int bits = Float.floatToRawIntBits(x);
-        final int biasedExp = (bits>>23) & 0xff;
-        // Shift to get rid of bits past comma except first one: will need to
-        // 1-shift to the right to end up with correct magnitude.
-        final int shift = (23 - 1 + Float.MAX_EXPONENT) - biasedExp;
-        if ((shift & -32) == 0) {
-            // shift in [0,31], so unbiased exp in [-9,22].
-            int extendedMantissa = 0x00800000 | (bits & 0x007fffff);
-            if (bits < 0) {
-                extendedMantissa = -extendedMantissa;
-            }
-            // If value is positive and first bit past comma is 0, rounding
-            // to lower integer, else to upper one, which is what "+1" and
-            // then ">>1" do.
-            return ((extendedMantissa >> shift) + 1) >> 1;
-        } else {
-            // +-Infinity, NaN, or a mathematical integer.
-            return (int) x;
-        }
-    }
-
-    /** Compute the minimum of two values
-     * @param a first value
-     * @param b second value
-     * @return a if a is lesser or equal to b, b otherwise
-     */
-    public static int min(final int a, final int b) {
-        return (a <= b) ? a : b;
-    }
-
-    /** Compute the minimum of two values
-     * @param a first value
-     * @param b second value
-     * @return a if a is lesser or equal to b, b otherwise
-     */
-    public static long min(final long a, final long b) {
-        return (a <= b) ? a : b;
-    }
-
-    /** Compute the minimum of two values
-     * @param a first value
-     * @param b second value
-     * @return a if a is lesser or equal to b, b otherwise
-     */
-    public static float min(final float a, final float b) {
-        if (a > b) {
-            return b;
-        }
-        if (a < b) {
-            return a;
-        }
-        /* if either arg is NaN, return NaN */
-        if (a != b) {
-            return Float.NaN;
-        }
-        /* min(+0.0,-0.0) == -0.0 */
-        /* 0x80000000 == Float.floatToRawIntBits(-0.0d) */
-        int bits = Float.floatToRawIntBits(a);
-        if (bits == 0x80000000) {
-            return a;
-        }
-        return b;
-    }
-
-    /** Compute the minimum of two values
-     * @param a first value
-     * @param b second value
-     * @return a if a is lesser or equal to b, b otherwise
-     */
-    public static double min(final double a, final double b) {
-        if (a > b) {
-            return b;
-        }
-        if (a < b) {
-            return a;
-        }
-        /* if either arg is NaN, return NaN */
-        if (a != b) {
-            return Double.NaN;
-        }
-        /* min(+0.0,-0.0) == -0.0 */
-        /* 0x8000000000000000L == Double.doubleToRawLongBits(-0.0d) */
-        long bits = Double.doubleToRawLongBits(a);
-        if (bits == 0x8000000000000000L) {
-            return a;
-        }
-        return b;
-    }
-
-    /** Compute the maximum of two values
-     * @param a first value
-     * @param b second value
-     * @return b if a is lesser or equal to b, a otherwise
-     */
-    public static int max(final int a, final int b) {
-        return (a <= b) ? b : a;
-    }
-
-    /** Compute the maximum of two values
-     * @param a first value
-     * @param b second value
-     * @return b if a is lesser or equal to b, a otherwise
-     */
-    public static long max(final long a, final long b) {
-        return (a <= b) ? b : a;
-    }
-
-    /** Compute the maximum of two values
-     * @param a first value
-     * @param b second value
-     * @return b if a is lesser or equal to b, a otherwise
-     */
-    public static float max(final float a, final float b) {
-        if (a > b) {
-            return a;
-        }
-        if (a < b) {
-            return b;
-        }
-        /* if either arg is NaN, return NaN */
-        if (a != b) {
-            return Float.NaN;
-        }
-        /* min(+0.0,-0.0) == -0.0 */
-        /* 0x80000000 == Float.floatToRawIntBits(-0.0d) */
-        int bits = Float.floatToRawIntBits(a);
-        if (bits == 0x80000000) {
-            return b;
-        }
-        return a;
-    }
-
-    /** Compute the maximum of two values
-     * @param a first value
-     * @param b second value
-     * @return b if a is lesser or equal to b, a otherwise
-     */
-    public static double max(final double a, final double b) {
-        if (a > b) {
-            return a;
-        }
-        if (a < b) {
-            return b;
-        }
-        /* if either arg is NaN, return NaN */
-        if (a != b) {
-            return Double.NaN;
-        }
-        /* min(+0.0,-0.0) == -0.0 */
-        /* 0x8000000000000000L == Double.doubleToRawLongBits(-0.0d) */
-        long bits = Double.doubleToRawLongBits(a);
-        if (bits == 0x8000000000000000L) {
-            return b;
-        }
-        return a;
-    }
-
-    /**
-     * Returns the hypotenuse of a triangle with sides {@code x} and {@code y}
-     * - sqrt(<i>x</i><sup>2</sup>&nbsp;+<i>y</i><sup>2</sup>)<br>
-     * avoiding intermediate overflow or underflow.
-     *
-     * <ul>
-     * <li> If either argument is infinite, then the result is positive infinity.</li>
-     * <li> else, if either argument is NaN then the result is NaN.</li>
-     * </ul>
-     *
-     * @param x a value
-     * @param y a value
-     * @return sqrt(<i>x</i><sup>2</sup>&nbsp;+<i>y</i><sup>2</sup>)
-     */
-    public static double hypot(final double x, final double y) {
-        if (Double.isInfinite(x) || Double.isInfinite(y)) {
-            return Double.POSITIVE_INFINITY;
-        } else if (Double.isNaN(x) || Double.isNaN(y)) {
-            return Double.NaN;
-        } else {
-
-            final int expX = getExponent(x);
-            final int expY = getExponent(y);
-            if (expX > expY + 27) {
-                // y is neglectible with respect to x
-                return abs(x);
-            } else if (expY > expX + 27) {
-                // x is neglectible with respect to y
-                return abs(y);
-            } else {
-
-                // find an intermediate scale to avoid both overflow and underflow
-                final int middleExp = (expX + expY) / 2;
-
-                // scale parameters without losing precision
-                final double scaledX = scalb(x, -middleExp);
-                final double scaledY = scalb(y, -middleExp);
-
-                // compute scaled hypotenuse
-                final double scaledH = sqrt(scaledX * scaledX + scaledY * scaledY);
-
-                // remove scaling
-                return scalb(scaledH, middleExp);
-
-            }
-
-        }
-    }
-
-    /**
-     * Computes the remainder as prescribed by the IEEE 754 standard.
-     * The remainder value is mathematically equal to {@code x - y*n}
-     * where {@code n} is the mathematical integer closest to the exact mathematical value
-     * of the quotient {@code x/y}.
-     * If two mathematical integers are equally close to {@code x/y} then
-     * {@code n} is the integer that is even.
-     * <ul>
-     * <li>If either operand is NaN, the result is NaN.</li>
-     * <li>If the result is not NaN, the sign of the result equals the sign of the dividend.</li>
-     * <li>If the dividend is an infinity, or the divisor is a zero, or both, the result is NaN.</li>
-     * <li>If the dividend is finite and the divisor is an infinity, the result equals the dividend.</li>
-     * <li>If the dividend is a zero and the divisor is finite, the result equals the dividend.</li>
-     * </ul>
-     * @param dividend the number to be divided
-     * @param divisor the number by which to divide
-     * @return the remainder, rounded
-     */
-    public static double IEEEremainder(final double dividend, final double divisor) {
-        if (getExponent(dividend) == 1024 || getExponent(divisor) == 1024 || divisor == 0.0) {
-            // we are in one of the special cases
-            if (Double.isInfinite(divisor) && !Double.isInfinite(dividend)) {
-                return dividend;
-            } else {
-                return Double.NaN;
-            }
-        } else {
-            // we are in the general case
-            final double n         = AccurateMath.rint(dividend / divisor);
-            final double remainder = Double.isInfinite(n) ? 0.0 : dividend - divisor * n;
-            return (remainder == 0) ? AccurateMath.copySign(remainder, dividend) : remainder;
-        }
-    }
-
-    /** Convert a long to integer, detecting overflows
-     * @param n number to convert to int
-     * @return integer with same value as n if no overflows occur
-     * @exception MathArithmeticException if n cannot fit into an int
-     * @since 3.4
-     */
-    public static int toIntExact(final long n) throws MathArithmeticException {
-        if (n < Integer.MIN_VALUE || n > Integer.MAX_VALUE) {
-            throw new MathArithmeticException(LocalizedFormats.OVERFLOW);
-        }
-        return (int) n;
-    }
-
-    /** Increment a number, detecting overflows.
-     * @param n number to increment
-     * @return n+1 if no overflows occur
-     * @exception MathArithmeticException if an overflow occurs
-     * @since 3.4
-     */
-    public static int incrementExact(final int n) throws MathArithmeticException {
-
-        if (n == Integer.MAX_VALUE) {
-            throw new MathArithmeticException(LocalizedFormats.OVERFLOW_IN_ADDITION, n, 1);
-        }
-
-        return n + 1;
-
-    }
-
-    /** Increment a number, detecting overflows.
-     * @param n number to increment
-     * @return n+1 if no overflows occur
-     * @exception MathArithmeticException if an overflow occurs
-     * @since 3.4
-     */
-    public static long incrementExact(final long n) throws MathArithmeticException {
-
-        if (n == Long.MAX_VALUE) {
-            throw new MathArithmeticException(LocalizedFormats.OVERFLOW_IN_ADDITION, n, 1);
-        }
-
-        return n + 1;
-
-    }
-
-    /** Decrement a number, detecting overflows.
-     * @param n number to decrement
-     * @return n-1 if no overflows occur
-     * @exception MathArithmeticException if an overflow occurs
-     * @since 3.4
-     */
-    public static int decrementExact(final int n) throws MathArithmeticException {
-
-        if (n == Integer.MIN_VALUE) {
-            throw new MathArithmeticException(LocalizedFormats.OVERFLOW_IN_SUBTRACTION, n, 1);
-        }
-
-        return n - 1;
-
-    }
-
-    /** Decrement a number, detecting overflows.
-     * @param n number to decrement
-     * @return n-1 if no overflows occur
-     * @exception MathArithmeticException if an overflow occurs
-     * @since 3.4
-     */
-    public static long decrementExact(final long n) throws MathArithmeticException {
-
-        if (n == Long.MIN_VALUE) {
-            throw new MathArithmeticException(LocalizedFormats.OVERFLOW_IN_SUBTRACTION, n, 1);
-        }
-
-        return n - 1;
-
-    }
-
-    /** Add two numbers, detecting overflows.
-     * @param a first number to add
-     * @param b second number to add
-     * @return a+b if no overflows occur
-     * @exception MathArithmeticException if an overflow occurs
-     * @since 3.4
-     */
-    public static int addExact(final int a, final int b) throws MathArithmeticException {
-
-        // compute sum
-        final int sum = a + b;
-
-        // check for overflow
-        if ((a ^ b) >= 0 && (sum ^ b) < 0) {
-            throw new MathArithmeticException(LocalizedFormats.OVERFLOW_IN_ADDITION, a, b);
-        }
-
-        return sum;
-
-    }
-
-    /** Add two numbers, detecting overflows.
-     * @param a first number to add
-     * @param b second number to add
-     * @return a+b if no overflows occur
-     * @exception MathArithmeticException if an overflow occurs
-     * @since 3.4
-     */
-    public static long addExact(final long a, final long b) throws MathArithmeticException {
-
-        // compute sum
-        final long sum = a + b;
-
-        // check for overflow
-        if ((a ^ b) >= 0 && (sum ^ b) < 0) {
-            throw new MathArithmeticException(LocalizedFormats.OVERFLOW_IN_ADDITION, a, b);
-        }
-
-        return sum;
-
-    }
-
-    /** Subtract two numbers, detecting overflows.
-     * @param a first number
-     * @param b second number to subtract from a
-     * @return a-b if no overflows occur
-     * @exception MathArithmeticException if an overflow occurs
-     * @since 3.4
-     */
-    public static int subtractExact(final int a, final int b) {
-
-        // compute subtraction
-        final int sub = a - b;
-
-        // check for overflow
-        if ((a ^ b) < 0 && (sub ^ b) >= 0) {
-            throw new MathArithmeticException(LocalizedFormats.OVERFLOW_IN_SUBTRACTION, a, b);
-        }
-
-        return sub;
-
-    }
-
-    /** Subtract two numbers, detecting overflows.
-     * @param a first number
-     * @param b second number to subtract from a
-     * @return a-b if no overflows occur
-     * @exception MathArithmeticException if an overflow occurs
-     * @since 3.4
-     */
-    public static long subtractExact(final long a, final long b) {
-
-        // compute subtraction
-        final long sub = a - b;
-
-        // check for overflow
-        if ((a ^ b) < 0 && (sub ^ b) >= 0) {
-            throw new MathArithmeticException(LocalizedFormats.OVERFLOW_IN_SUBTRACTION, a, b);
-        }
-
-        return sub;
-
-    }
-
-    /** Multiply two numbers, detecting overflows.
-     * @param a first number to multiply
-     * @param b second number to multiply
-     * @return a*b if no overflows occur
-     * @exception MathArithmeticException if an overflow occurs
-     * @since 3.4
-     */
-    public static int multiplyExact(final int a, final int b) {
-        if (((b  >  0)  && (a > Integer.MAX_VALUE / b || a < Integer.MIN_VALUE / b)) ||
-            ((b  < -1)  && (a > Integer.MIN_VALUE / b || a < Integer.MAX_VALUE / b)) ||
-            ((b == -1)  && (a == Integer.MIN_VALUE))) {
-            throw new MathArithmeticException(LocalizedFormats.OVERFLOW_IN_MULTIPLICATION, a, b);
-        }
-        return a * b;
-    }
-
-    /** Multiply two numbers, detecting overflows.
-     * @param a first number to multiply
-     * @param b second number to multiply
-     * @return a*b if no overflows occur
-     * @exception MathArithmeticException if an overflow occurs
-     * @since 3.4
-     */
-    public static long multiplyExact(final long a, final long b) {
-        if (((b  >  0l)  && (a > Long.MAX_VALUE / b || a < Long.MIN_VALUE / b)) ||
-            ((b  < -1l)  && (a > Long.MIN_VALUE / b || a < Long.MAX_VALUE / b)) ||
-            ((b == -1l)  && (a == Long.MIN_VALUE))) {
-                throw new MathArithmeticException(LocalizedFormats.OVERFLOW_IN_MULTIPLICATION, a, b);
-            }
-            return a * b;
-    }
-
-    /** Finds q such that a = q b + r with 0 &lt;= r &lt; b if b &gt; 0 and b &lt; r &lt;= 0 if b &lt; 0.
-     * <p>
-     * This methods returns the same value as integer division when
-     * a and b are same signs, but returns a different value when
-     * they are opposite (i.e. q is negative).
-     * </p>
-     * @param a dividend
-     * @param b divisor
-     * @return q such that a = q b + r with 0 &lt;= r &lt; b if b &gt; 0 and b &lt; r &lt;= 0 if b &lt; 0
-     * @exception MathArithmeticException if b == 0
-     * @see #floorMod(int, int)
-     * @since 3.4
-     */
-    public static int floorDiv(final int a, final int b) throws MathArithmeticException {
-
-        if (b == 0) {
-            throw new MathArithmeticException(LocalizedFormats.ZERO_DENOMINATOR);
-        }
-
-        final int m = a % b;
-        if ((a ^ b) >= 0 || m == 0) {
-            // a an b have same sign, or division is exact
-            return a / b;
-        } else {
-            // a and b have opposite signs and division is not exact
-            return (a / b) - 1;
-        }
-
-    }
-
-    /** Finds q such that a = q b + r with 0 &lt;= r &lt; b if b &gt; 0 and b &lt; r &lt;= 0 if b &lt; 0.
-     * <p>
-     * This methods returns the same value as integer division when
-     * a and b are same signs, but returns a different value when
-     * they are opposite (i.e. q is negative).
-     * </p>
-     * @param a dividend
-     * @param b divisor
-     * @return q such that a = q b + r with 0 &lt;= r &lt; b if b &gt; 0 and b &lt; r &lt;= 0 if b &lt; 0
-     * @exception MathArithmeticException if b == 0
-     * @see #floorMod(long, long)
-     * @since 3.4
-     */
-    public static long floorDiv(final long a, final long b) throws MathArithmeticException {
-
-        if (b == 0l) {
-            throw new MathArithmeticException(LocalizedFormats.ZERO_DENOMINATOR);
-        }
-
-        final long m = a % b;
-        if ((a ^ b) >= 0l || m == 0l) {
-            // a an b have same sign, or division is exact
-            return a / b;
-        } else {
-            // a and b have opposite signs and division is not exact
-            return (a / b) - 1l;
-        }
-
-    }
-
-    /** Finds r such that a = q b + r with 0 &lt;= r &lt; b if b &gt; 0 and b &lt; r &lt;= 0 if b &lt; 0.
-     * <p>
-     * This methods returns the same value as integer modulo when
-     * a and b are same signs, but returns a different value when
-     * they are opposite (i.e. q is negative).
-     * </p>
-     * @param a dividend
-     * @param b divisor
-     * @return r such that a = q b + r with 0 &lt;= r &lt; b if b &gt; 0 and b &lt; r &lt;= 0 if b &lt; 0
-     * @exception MathArithmeticException if b == 0
-     * @see #floorDiv(int, int)
-     * @since 3.4
-     */
-    public static int floorMod(final int a, final int b) throws MathArithmeticException {
-
-        if (b == 0) {
-            throw new MathArithmeticException(LocalizedFormats.ZERO_DENOMINATOR);
-        }
-
-        final int m = a % b;
-        if ((a ^ b) >= 0 || m == 0) {
-            // a an b have same sign, or division is exact
-            return m;
-        } else {
-            // a and b have opposite signs and division is not exact
-            return b + m;
-        }
-
-    }
-
-    /** Finds r such that a = q b + r with 0 &lt;= r &lt; b if b &gt; 0 and b &lt; r &lt;= 0 if b &lt; 0.
-     * <p>
-     * This methods returns the same value as integer modulo when
-     * a and b are same signs, but returns a different value when
-     * they are opposite (i.e. q is negative).
-     * </p>
-     * @param a dividend
-     * @param b divisor
-     * @return r such that a = q b + r with 0 &lt;= r &lt; b if b &gt; 0 and b &lt; r &lt;= 0 if b &lt; 0
-     * @exception MathArithmeticException if b == 0
-     * @see #floorDiv(long, long)
-     * @since 3.4
-     */
-    public static long floorMod(final long a, final long b) {
-
-        if (b == 0l) {
-            throw new MathArithmeticException(LocalizedFormats.ZERO_DENOMINATOR);
-        }
-
-        final long m = a % b;
-        if ((a ^ b) >= 0l || m == 0l) {
-            // a an b have same sign, or division is exact
-            return m;
-        } else {
-            // a and b have opposite signs and division is not exact
-            return b + m;
-        }
-
-    }
-
-    /**
-     * Returns the first argument with the sign of the second argument.
-     * A NaN {@code sign} argument is treated as positive.
-     *
-     * @param magnitude the value to return
-     * @param sign the sign for the returned value
-     * @return the magnitude with the same sign as the {@code sign} argument
-     */
-    public static double copySign(double magnitude, double sign){
-        // The highest order bit is going to be zero if the
-        // highest order bit of m and s is the same and one otherwise.
-        // So (m^s) will be positive if both m and s have the same sign
-        // and negative otherwise.
-        final long m = Double.doubleToRawLongBits(magnitude); // don't care about NaN
-        final long s = Double.doubleToRawLongBits(sign);
-        if ((m^s) >= 0) {
-            return magnitude;
-        }
-        return -magnitude; // flip sign
-    }
-
-    /**
-     * Returns the first argument with the sign of the second argument.
-     * A NaN {@code sign} argument is treated as positive.
-     *
-     * @param magnitude the value to return
-     * @param sign the sign for the returned value
-     * @return the magnitude with the same sign as the {@code sign} argument
-     */
-    public static float copySign(float magnitude, float sign){
-        // The highest order bit is going to be zero if the
-        // highest order bit of m and s is the same and one otherwise.
-        // So (m^s) will be positive if both m and s have the same sign
-        // and negative otherwise.
-        final int m = Float.floatToRawIntBits(magnitude);
-        final int s = Float.floatToRawIntBits(sign);
-        if ((m^s) >= 0) {
-            return magnitude;
-        }
-        return -magnitude; // flip sign
-    }
-
-    /**
-     * Return the exponent of a double number, removing the bias.
-     * <p>
-     * For double numbers of the form 2<sup>x</sup>, the unbiased
-     * exponent is exactly x.
-     * </p>
-     * @param d number from which exponent is requested
-     * @return exponent for d in IEEE754 representation, without bias
-     */
-    public static int getExponent(final double d) {
-        // NaN and Infinite will return 1024 anywho so can use raw bits
-        return (int) ((Double.doubleToRawLongBits(d) >>> 52) & 0x7ff) - 1023;
-    }
-
-    /**
-     * Return the exponent of a float number, removing the bias.
-     * <p>
-     * For float numbers of the form 2<sup>x</sup>, the unbiased
-     * exponent is exactly x.
-     * </p>
-     * @param f number from which exponent is requested
-     * @return exponent for d in IEEE754 representation, without bias
-     */
-    public static int getExponent(final float f) {
-        // NaN and Infinite will return the same exponent anywho so can use raw bits
-        return ((Float.floatToRawIntBits(f) >>> 23) & 0xff) - 127;
-    }
-
-    /**
-     * Print out contents of arrays, and check the length.
-     * <p>used to generate the preset arrays originally.</p>
-     * @param a unused
-     */
-    public static void main(String[] a) {
-        PrintStream out = System.out;
-        AccurateMathCalc.printarray(out, "EXP_INT_TABLE_A", EXP_INT_TABLE_LEN, ExpIntTable.EXP_INT_TABLE_A);
-        AccurateMathCalc.printarray(out, "EXP_INT_TABLE_B", EXP_INT_TABLE_LEN, ExpIntTable.EXP_INT_TABLE_B);
-        AccurateMathCalc.printarray(out, "EXP_FRAC_TABLE_A", EXP_FRAC_TABLE_LEN, ExpFracTable.EXP_FRAC_TABLE_A);
-        AccurateMathCalc.printarray(out, "EXP_FRAC_TABLE_B", EXP_FRAC_TABLE_LEN, ExpFracTable.EXP_FRAC_TABLE_B);
-        AccurateMathCalc.printarray(out, "LN_MANT",LN_MANT_LEN, lnMant.LN_MANT);
-        AccurateMathCalc.printarray(out, "SINE_TABLE_A", SINE_TABLE_LEN, SINE_TABLE_A);
-        AccurateMathCalc.printarray(out, "SINE_TABLE_B", SINE_TABLE_LEN, SINE_TABLE_B);
-        AccurateMathCalc.printarray(out, "COSINE_TABLE_A", SINE_TABLE_LEN, COSINE_TABLE_A);
-        AccurateMathCalc.printarray(out, "COSINE_TABLE_B", SINE_TABLE_LEN, COSINE_TABLE_B);
-        AccurateMathCalc.printarray(out, "TANGENT_TABLE_A", SINE_TABLE_LEN, TANGENT_TABLE_A);
-        AccurateMathCalc.printarray(out, "TANGENT_TABLE_B", SINE_TABLE_LEN, TANGENT_TABLE_B);
-    }
-
-    /** Enclose large data table in nested static class so it's only loaded on first access. */
-    private static class ExpIntTable {
-        /** Exponential evaluated at integer values,
-         * exp(x) =  expIntTableA[x + EXP_INT_TABLE_MAX_INDEX] + expIntTableB[x+EXP_INT_TABLE_MAX_INDEX].
-         */
-        private static final double[] EXP_INT_TABLE_A;
-        /** Exponential evaluated at integer values,
-         * exp(x) =  expIntTableA[x + EXP_INT_TABLE_MAX_INDEX] + expIntTableB[x+EXP_INT_TABLE_MAX_INDEX]
-         */
-        private static final double[] EXP_INT_TABLE_B;
-
-        static {
-            if (RECOMPUTE_TABLES_AT_RUNTIME) {
-                EXP_INT_TABLE_A = new double[AccurateMath.EXP_INT_TABLE_LEN];
-                EXP_INT_TABLE_B = new double[AccurateMath.EXP_INT_TABLE_LEN];
-
-                final double tmp[] = new double[2];
-                final double recip[] = new double[2];
-
-                // Populate expIntTable
-                for (int i = 0; i < AccurateMath.EXP_INT_TABLE_MAX_INDEX; i++) {
-                    AccurateMathCalc.expint(i, tmp);
-                    EXP_INT_TABLE_A[i + AccurateMath.EXP_INT_TABLE_MAX_INDEX] = tmp[0];
-                    EXP_INT_TABLE_B[i + AccurateMath.EXP_INT_TABLE_MAX_INDEX] = tmp[1];
-
-                    if (i != 0) {
-                        // Negative integer powers
-                        AccurateMathCalc.splitReciprocal(tmp, recip);
-                        EXP_INT_TABLE_A[AccurateMath.EXP_INT_TABLE_MAX_INDEX - i] = recip[0];
-                        EXP_INT_TABLE_B[AccurateMath.EXP_INT_TABLE_MAX_INDEX - i] = recip[1];
-                    }
-                }
-            } else {
-                EXP_INT_TABLE_A = AccurateMathLiteralArrays.loadExpIntA();
-                EXP_INT_TABLE_B = AccurateMathLiteralArrays.loadExpIntB();
-            }
-        }
-    }
-
-    /** Enclose large data table in nested static class so it's only loaded on first access. */
-    private static class ExpFracTable {
-        /** Exponential over the range of 0 - 1 in increments of 2^-10
-         * exp(x/1024) =  expFracTableA[x] + expFracTableB[x].
-         * 1024 = 2^10
-         */
-        private static final double[] EXP_FRAC_TABLE_A;
-        /** Exponential over the range of 0 - 1 in increments of 2^-10
-         * exp(x/1024) =  expFracTableA[x] + expFracTableB[x].
-         */
-        private static final double[] EXP_FRAC_TABLE_B;
-
-        static {
-            if (RECOMPUTE_TABLES_AT_RUNTIME) {
-                EXP_FRAC_TABLE_A = new double[AccurateMath.EXP_FRAC_TABLE_LEN];
-                EXP_FRAC_TABLE_B = new double[AccurateMath.EXP_FRAC_TABLE_LEN];
-
-                final double tmp[] = new double[2];
-
-                // Populate expFracTable
-                final double factor = 1d / (EXP_FRAC_TABLE_LEN - 1);
-                for (int i = 0; i < EXP_FRAC_TABLE_A.length; i++) {
-                    AccurateMathCalc.slowexp(i * factor, tmp);
-                    EXP_FRAC_TABLE_A[i] = tmp[0];
-                    EXP_FRAC_TABLE_B[i] = tmp[1];
-                }
-            } else {
-                EXP_FRAC_TABLE_A = AccurateMathLiteralArrays.loadExpFracA();
-                EXP_FRAC_TABLE_B = AccurateMathLiteralArrays.loadExpFracB();
-            }
-        }
-    }
-
-    /** Enclose large data table in nested static class so it's only loaded on first access. */
-    private static class lnMant {
-        /** Extended precision logarithm table over the range 1 - 2 in increments of 2^-10. */
-        private static final double[][] LN_MANT;
-
-        static {
-            if (RECOMPUTE_TABLES_AT_RUNTIME) {
-                LN_MANT = new double[AccurateMath.LN_MANT_LEN][];
-
-                // Populate lnMant table
-                for (int i = 0; i < LN_MANT.length; i++) {
-                    final double d = Double.longBitsToDouble( (((long) i) << 42) | 0x3ff0000000000000L );
-                    LN_MANT[i] = AccurateMathCalc.slowLog(d);
-                }
-            } else {
-                LN_MANT = AccurateMathLiteralArrays.loadLnMant();
-            }
-        }
-    }
-
-    /** Enclose the Cody/Waite reduction (used in "sin", "cos" and "tan"). */
-    private static class CodyWaite {
-        /** k */
-        private final int finalK;
-        /** remA */
-        private final double finalRemA;
-        /** remB */
-        private final double finalRemB;
-
-        /**
-         * @param xa Argument.
-         */
-        CodyWaite(double xa) {
-            // Estimate k.
-            //k = (int)(xa / 1.5707963267948966);
-            int k = (int)(xa * 0.6366197723675814);
-
-            // Compute remainder.
-            double remA;
-            double remB;
-            while (true) {
-                double a = -k * 1.570796251296997;
-                remA = xa + a;
-                remB = -(remA - xa - a);
-
-                a = -k * 7.549789948768648E-8;
-                double b = remA;
-                remA = a + b;
-                remB += -(remA - b - a);
-
-                a = -k * 6.123233995736766E-17;
-                b = remA;
-                remA = a + b;
-                remB += -(remA - b - a);
-
-                if (remA > 0) {
-                    break;
-                }
-
-                // Remainder is negative, so decrement k and try again.
-                // This should only happen if the input is very close
-                // to an even multiple of pi/2.
-                --k;
-            }
-
-            this.finalK = k;
-            this.finalRemA = remA;
-            this.finalRemB = remB;
-        }
-
-        /**
-         * @return k
-         */
-        int getK() {
-            return finalK;
-        }
-        /**
-         * @return remA
-         */
-        double getRemA() {
-            return finalRemA;
-        }
-        /**
-         * @return remB
-         */
-        double getRemB() {
-            return finalRemB;
-        }
-    }
-}
diff --git a/commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/jdkmath/AccurateMathCalc.java.bak b/commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/jdkmath/AccurateMathCalc.java.bak
deleted file mode 100644
index 13ff2f1..0000000
--- a/commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/jdkmath/AccurateMathCalc.java.bak
+++ /dev/null
@@ -1,658 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.commons.math4.legacy.util;
-
-import java.io.PrintStream;
-
-import org.apache.commons.math4.legacy.exception.DimensionMismatchException;
-
-/** Class used to compute the classical functions tables.
- * @since 3.0
- */
-class AccurateMathCalc {
-
-    /**
-     * 0x40000000 - used to split a double into two parts, both with the low order bits cleared.
-     * Equivalent to 2^30.
-     */
-    private static final long HEX_40000000 = 0x40000000L; // 1073741824L
-
-    /** Factorial table, for Taylor series expansions. 0!, 1!, 2!, ... 19! */
-    private static final double FACT[] = new double[]
-        {
-        +1.0d,                        // 0
-        +1.0d,                        // 1
-        +2.0d,                        // 2
-        +6.0d,                        // 3
-        +24.0d,                       // 4
-        +120.0d,                      // 5
-        +720.0d,                      // 6
-        +5040.0d,                     // 7
-        +40320.0d,                    // 8
-        +362880.0d,                   // 9
-        +3628800.0d,                  // 10
-        +39916800.0d,                 // 11
-        +479001600.0d,                // 12
-        +6227020800.0d,               // 13
-        +87178291200.0d,              // 14
-        +1307674368000.0d,            // 15
-        +20922789888000.0d,           // 16
-        +355687428096000.0d,          // 17
-        +6402373705728000.0d,         // 18
-        +121645100408832000.0d,       // 19
-        };
-
-    /** Coefficients for slowLog. */
-    private static final double LN_SPLIT_COEF[][] = {
-        {2.0, 0.0},
-        {0.6666666269302368, 3.9736429850260626E-8},
-        {0.3999999761581421, 2.3841857910019882E-8},
-        {0.2857142686843872, 1.7029898543501842E-8},
-        {0.2222222089767456, 1.3245471311735498E-8},
-        {0.1818181574344635, 2.4384203044354907E-8},
-        {0.1538461446762085, 9.140260083262505E-9},
-        {0.13333332538604736, 9.220590270857665E-9},
-        {0.11764700710773468, 1.2393345855018391E-8},
-        {0.10526403784751892, 8.251545029714408E-9},
-        {0.0952233225107193, 1.2675934823758863E-8},
-        {0.08713622391223907, 1.1430250008909141E-8},
-        {0.07842259109020233, 2.404307984052299E-9},
-        {0.08371849358081818, 1.176342548272881E-8},
-        {0.030589580535888672, 1.2958646899018938E-9},
-        {0.14982303977012634, 1.225743062930824E-8},
-    };
-
-    /** Table start declaration. */
-    private static final String TABLE_START_DECL = "    {";
-
-    /** Table end declaration. */
-    private static final String TABLE_END_DECL   = "    };";
-
-    /**
-     * Private Constructor.
-     */
-    private AccurateMathCalc() {
-    }
-
-    /** Build the sine and cosine tables.
-     * @param SINE_TABLE_A table of the most significant part of the sines
-     * @param SINE_TABLE_B table of the least significant part of the sines
-     * @param COSINE_TABLE_A table of the most significant part of the cosines
-     * @param COSINE_TABLE_B table of the most significant part of the cosines
-     * @param SINE_TABLE_LEN length of the tables
-     * @param TANGENT_TABLE_A table of the most significant part of the tangents
-     * @param TANGENT_TABLE_B table of the most significant part of the tangents
-     */
-    @SuppressWarnings("unused")
-    private static void buildSinCosTables(double[] SINE_TABLE_A, double[] SINE_TABLE_B,
-                                          double[] COSINE_TABLE_A, double[] COSINE_TABLE_B,
-                                          int SINE_TABLE_LEN, double[] TANGENT_TABLE_A, double[] TANGENT_TABLE_B) {
-        final double result[] = new double[2];
-
-        /* Use taylor series for 0 <= x <= 6/8 */
-        for (int i = 0; i < 7; i++) {
-            double x = i / 8.0;
-
-            slowSin(x, result);
-            SINE_TABLE_A[i] = result[0];
-            SINE_TABLE_B[i] = result[1];
-
-            slowCos(x, result);
-            COSINE_TABLE_A[i] = result[0];
-            COSINE_TABLE_B[i] = result[1];
-        }
-
-        /* Use angle addition formula to complete table to 13/8, just beyond pi/2 */
-        for (int i = 7; i < SINE_TABLE_LEN; i++) {
-            double xs[] = new double[2];
-            double ys[] = new double[2];
-            double as[] = new double[2];
-            double bs[] = new double[2];
-            double temps[] = new double[2];
-
-            if ( (i & 1) == 0) {
-                // Even, use double angle
-                xs[0] = SINE_TABLE_A[i/2];
-                xs[1] = SINE_TABLE_B[i/2];
-                ys[0] = COSINE_TABLE_A[i/2];
-                ys[1] = COSINE_TABLE_B[i/2];
-
-                /* compute sine */
-                splitMult(xs, ys, result);
-                SINE_TABLE_A[i] = result[0] * 2.0;
-                SINE_TABLE_B[i] = result[1] * 2.0;
-
-                /* Compute cosine */
-                splitMult(ys, ys, as);
-                splitMult(xs, xs, temps);
-                temps[0] = -temps[0];
-                temps[1] = -temps[1];
-                splitAdd(as, temps, result);
-                COSINE_TABLE_A[i] = result[0];
-                COSINE_TABLE_B[i] = result[1];
-            } else {
-                xs[0] = SINE_TABLE_A[i/2];
-                xs[1] = SINE_TABLE_B[i/2];
-                ys[0] = COSINE_TABLE_A[i/2];
-                ys[1] = COSINE_TABLE_B[i/2];
-                as[0] = SINE_TABLE_A[i/2+1];
-                as[1] = SINE_TABLE_B[i/2+1];
-                bs[0] = COSINE_TABLE_A[i/2+1];
-                bs[1] = COSINE_TABLE_B[i/2+1];
-
-                /* compute sine */
-                splitMult(xs, bs, temps);
-                splitMult(ys, as, result);
-                splitAdd(result, temps, result);
-                SINE_TABLE_A[i] = result[0];
-                SINE_TABLE_B[i] = result[1];
-
-                /* Compute cosine */
-                splitMult(ys, bs, result);
-                splitMult(xs, as, temps);
-                temps[0] = -temps[0];
-                temps[1] = -temps[1];
-                splitAdd(result, temps, result);
-                COSINE_TABLE_A[i] = result[0];
-                COSINE_TABLE_B[i] = result[1];
-            }
-        }
-
-        /* Compute tangent = sine/cosine */
-        for (int i = 0; i < SINE_TABLE_LEN; i++) {
-            double xs[] = new double[2];
-            double ys[] = new double[2];
-            double as[] = new double[2];
-
-            as[0] = COSINE_TABLE_A[i];
-            as[1] = COSINE_TABLE_B[i];
-
-            splitReciprocal(as, ys);
-
-            xs[0] = SINE_TABLE_A[i];
-            xs[1] = SINE_TABLE_B[i];
-
-            splitMult(xs, ys, as);
-
-            TANGENT_TABLE_A[i] = as[0];
-            TANGENT_TABLE_B[i] = as[1];
-        }
-
-    }
-
-    /**
-     *  For x between 0 and pi/4 compute cosine using Talor series
-     *  cos(x) = 1 - x^2/2! + x^4/4! ...
-     * @param x number from which cosine is requested
-     * @param result placeholder where to put the result in extended precision
-     * (may be null)
-     * @return cos(x)
-     */
-    static double slowCos(final double x, final double result[]) {
-
-        final double xs[] = new double[2];
-        final double ys[] = new double[2];
-        final double facts[] = new double[2];
-        final double as[] = new double[2];
-        split(x, xs);
-        ys[0] = ys[1] = 0.0;
-
-        for (int i = FACT.length-1; i >= 0; i--) {
-            splitMult(xs, ys, as);
-            ys[0] = as[0]; ys[1] = as[1];
-
-            if ( (i & 1) != 0) { // skip odd entries
-                continue;
-            }
-
-            split(FACT[i], as);
-            splitReciprocal(as, facts);
-
-            if ( (i & 2) != 0 ) { // alternate terms are negative
-                facts[0] = -facts[0];
-                facts[1] = -facts[1];
-            }
-
-            splitAdd(ys, facts, as);
-            ys[0] = as[0]; ys[1] = as[1];
-        }
-
-        if (result != null) {
-            result[0] = ys[0];
-            result[1] = ys[1];
-        }
-
-        return ys[0] + ys[1];
-    }
-
-    /**
-     * For x between 0 and pi/4 compute sine using Taylor expansion:
-     * sin(x) = x - x^3/3! + x^5/5! - x^7/7! ...
-     * @param x number from which sine is requested
-     * @param result placeholder where to put the result in extended precision
-     * (may be null)
-     * @return sin(x)
-     */
-    static double slowSin(final double x, final double result[]) {
-        final double xs[] = new double[2];
-        final double ys[] = new double[2];
-        final double facts[] = new double[2];
-        final double as[] = new double[2];
-        split(x, xs);
-        ys[0] = ys[1] = 0.0;
-
-        for (int i = FACT.length-1; i >= 0; i--) {
-            splitMult(xs, ys, as);
-            ys[0] = as[0]; ys[1] = as[1];
-
-            if ( (i & 1) == 0) { // Ignore even numbers
-                continue;
-            }
-
-            split(FACT[i], as);
-            splitReciprocal(as, facts);
-
-            if ( (i & 2) != 0 ) { // alternate terms are negative
-                facts[0] = -facts[0];
-                facts[1] = -facts[1];
-            }
-
-            splitAdd(ys, facts, as);
-            ys[0] = as[0]; ys[1] = as[1];
-        }
-
-        if (result != null) {
-            result[0] = ys[0];
-            result[1] = ys[1];
-        }
-
-        return ys[0] + ys[1];
-    }
-
-
-    /**
-     *  For x between 0 and 1, returns exp(x), uses extended precision
-     *  @param x argument of exponential
-     *  @param result placeholder where to place exp(x) split in two terms
-     *  for extra precision (i.e. exp(x) = result[0] + result[1]
-     *  @return exp(x)
-     */
-    static double slowexp(final double x, final double result[]) {
-        final double xs[] = new double[2];
-        final double ys[] = new double[2];
-        final double facts[] = new double[2];
-        final double as[] = new double[2];
-        split(x, xs);
-        ys[0] = ys[1] = 0.0;
-
-        for (int i = FACT.length-1; i >= 0; i--) {
-            splitMult(xs, ys, as);
-            ys[0] = as[0];
-            ys[1] = as[1];
-
-            split(FACT[i], as);
-            splitReciprocal(as, facts);
-
-            splitAdd(ys, facts, as);
-            ys[0] = as[0];
-            ys[1] = as[1];
-        }
-
-        if (result != null) {
-            result[0] = ys[0];
-            result[1] = ys[1];
-        }
-
-        return ys[0] + ys[1];
-    }
-
-    /** Compute split[0], split[1] such that their sum is equal to d,
-     * and split[0] has its 30 least significant bits as zero.
-     * @param d number to split
-     * @param split placeholder where to place the result
-     */
-    private static void split(final double d, final double split[]) {
-        if (d < 8e298 && d > -8e298) {
-            final double a = d * HEX_40000000;
-            split[0] = (d + a) - a;
-            split[1] = d - split[0];
-        } else {
-            final double a = d * 9.31322574615478515625E-10;
-            split[0] = (d + a - d) * HEX_40000000;
-            split[1] = d - split[0];
-        }
-    }
-
-    /** Recompute a split.
-     * @param a input/out array containing the split, changed
-     * on output
-     */
-    private static void resplit(final double a[]) {
-        final double c = a[0] + a[1];
-        final double d = -(c - a[0] - a[1]);
-
-        if (c < 8e298 && c > -8e298) { // MAGIC NUMBER
-            double z = c * HEX_40000000;
-            a[0] = (c + z) - z;
-            a[1] = c - a[0] + d;
-        } else {
-            double z = c * 9.31322574615478515625E-10;
-            a[0] = (c + z - c) * HEX_40000000;
-            a[1] = c - a[0] + d;
-        }
-    }
-
-    /** Multiply two numbers in split form.
-     * @param a first term of multiplication
-     * @param b second term of multiplication
-     * @param ans placeholder where to put the result
-     */
-    private static void splitMult(double a[], double b[], double ans[]) {
-        ans[0] = a[0] * b[0];
-        ans[1] = a[0] * b[1] + a[1] * b[0] + a[1] * b[1];
-
-        /* Resplit */
-        resplit(ans);
-    }
-
-    /** Add two numbers in split form.
-     * @param a first term of addition
-     * @param b second term of addition
-     * @param ans placeholder where to put the result
-     */
-    private static void splitAdd(final double a[], final double b[], final double ans[]) {
-        ans[0] = a[0] + b[0];
-        ans[1] = a[1] + b[1];
-
-        resplit(ans);
-    }
-
-    /** Compute the reciprocal of in.  Use the following algorithm.
-     *  in = c + d.
-     *  want to find x + y such that x+y = 1/(c+d) and x is much
-     *  larger than y and x has several zero bits on the right.
-     *
-     *  Set b = 1/(2^22),  a = 1 - b.  Thus (a+b) = 1.
-     *  Use following identity to compute (a+b)/(c+d)
-     *
-     *  (a+b)/(c+d)  =   a/c   +    (bc - ad) / (c^2 + cd)
-     *  set x = a/c  and y = (bc - ad) / (c^2 + cd)
-     *  This will be close to the right answer, but there will be
-     *  some rounding in the calculation of X.  So by carefully
-     *  computing 1 - (c+d)(x+y) we can compute an error and
-     *  add that back in.   This is done carefully so that terms
-     *  of similar size are subtracted first.
-     *  @param in initial number, in split form
-     *  @param result placeholder where to put the result
-     */
-    static void splitReciprocal(final double in[], final double result[]) {
-        final double b = 1.0/4194304.0;
-        final double a = 1.0 - b;
-
-        if (in[0] == 0.0) {
-            in[0] = in[1];
-            in[1] = 0.0;
-        }
-
-        result[0] = a / in[0];
-        result[1] = (b*in[0]-a*in[1]) / (in[0]*in[0] + in[0]*in[1]);
-
-        if (result[1] != result[1]) { // can happen if result[1] is NAN
-            result[1] = 0.0;
-        }
-
-        /* Resplit */
-        resplit(result);
-
-        for (int i = 0; i < 2; i++) {
-            /* this may be overkill, probably once is enough */
-            double err = 1.0 - result[0] * in[0] - result[0] * in[1] -
-            result[1] * in[0] - result[1] * in[1];
-            /*err = 1.0 - err; */
-            err *= result[0] + result[1];
-            /*printf("err = %16e\n", err); */
-            result[1] += err;
-        }
-    }
-
-    /** Compute (a[0] + a[1]) * (b[0] + b[1]) in extended precision.
-     * @param a first term of the multiplication
-     * @param b second term of the multiplication
-     * @param result placeholder where to put the result
-     */
-    private static void quadMult(final double a[], final double b[], final double result[]) {
-        final double xs[] = new double[2];
-        final double ys[] = new double[2];
-        final double zs[] = new double[2];
-
-        /* a[0] * b[0] */
-        split(a[0], xs);
-        split(b[0], ys);
-        splitMult(xs, ys, zs);
-
-        result[0] = zs[0];
-        result[1] = zs[1];
-
-        /* a[0] * b[1] */
-        split(b[1], ys);
-        splitMult(xs, ys, zs);
-
-        double tmp = result[0] + zs[0];
-        result[1] -= tmp - result[0] - zs[0];
-        result[0] = tmp;
-        tmp = result[0] + zs[1];
-        result[1] -= tmp - result[0] - zs[1];
-        result[0] = tmp;
-
-        /* a[1] * b[0] */
-        split(a[1], xs);
-        split(b[0], ys);
-        splitMult(xs, ys, zs);
-
-        tmp = result[0] + zs[0];
-        result[1] -= tmp - result[0] - zs[0];
-        result[0] = tmp;
-        tmp = result[0] + zs[1];
-        result[1] -= tmp - result[0] - zs[1];
-        result[0] = tmp;
-
-        /* a[1] * b[0] */
-        split(a[1], xs);
-        split(b[1], ys);
-        splitMult(xs, ys, zs);
-
-        tmp = result[0] + zs[0];
-        result[1] -= tmp - result[0] - zs[0];
-        result[0] = tmp;
-        tmp = result[0] + zs[1];
-        result[1] -= tmp - result[0] - zs[1];
-        result[0] = tmp;
-    }
-
-    /** Compute exp(p) for a integer p in extended precision.
-     * @param p integer whose exponential is requested
-     * @param result placeholder where to put the result in extended precision
-     * @return exp(p) in standard precision (equal to result[0] + result[1])
-     */
-    static double expint(int p, final double result[]) {
-        //double x = M_E;
-        final double xs[] = new double[2];
-        final double as[] = new double[2];
-        final double ys[] = new double[2];
-        //split(x, xs);
-        //xs[1] = (double)(2.7182818284590452353602874713526625L - xs[0]);
-        //xs[0] = 2.71827697753906250000;
-        //xs[1] = 4.85091998273542816811e-06;
-        //xs[0] = Double.longBitsToDouble(0x4005bf0800000000L);
-        //xs[1] = Double.longBitsToDouble(0x3ed458a2bb4a9b00L);
-
-        /* E */
-        xs[0] = 2.718281828459045;
-        xs[1] = 1.4456468917292502E-16;
-
-        split(1.0, ys);
-
-        while (p > 0) {
-            if ((p & 1) != 0) {
-                quadMult(ys, xs, as);
-                ys[0] = as[0]; ys[1] = as[1];
-            }
-
-            quadMult(xs, xs, as);
-            xs[0] = as[0]; xs[1] = as[1];
-
-            p >>= 1;
-        }
-
-        if (result != null) {
-            result[0] = ys[0];
-            result[1] = ys[1];
-
-            resplit(result);
-        }
-
-        return ys[0] + ys[1];
-    }
-    /** xi in the range of [1, 2].
-     *                                3        5        7
-     *      x+1           /          x        x        x          \
-     *  ln ----- =   2 *  |  x  +   ----  +  ----  +  ---- + ...  |
-     *      1-x           \          3        5        7          /
-     *
-     * So, compute a Remez approximation of the following function
-     *
-     *  ln ((sqrt(x)+1)/(1-sqrt(x)))  /  x
-     *
-     * This will be an even function with only positive coefficents.
-     * x is in the range [0 - 1/3].
-     *
-     * Transform xi for input to the above function by setting
-     * x = (xi-1)/(xi+1).   Input to the polynomial is x^2, then
-     * the result is multiplied by x.
-     * @param xi number from which log is requested
-     * @return log(xi)
-     */
-    static double[] slowLog(double xi) {
-        double x[] = new double[2];
-        double x2[] = new double[2];
-        double y[] = new double[2];
-        double a[] = new double[2];
-
-        split(xi, x);
-
-        /* Set X = (x-1)/(x+1) */
-        x[0] += 1.0;
-        resplit(x);
-        splitReciprocal(x, a);
-        x[0] -= 2.0;
-        resplit(x);
-        splitMult(x, a, y);
-        x[0] = y[0];
-        x[1] = y[1];
-
-        /* Square X -> X2*/
-        splitMult(x, x, x2);
-
-
-        //x[0] -= 1.0;
-        //resplit(x);
-
-        y[0] = LN_SPLIT_COEF[LN_SPLIT_COEF.length-1][0];
-        y[1] = LN_SPLIT_COEF[LN_SPLIT_COEF.length-1][1];
-
-        for (int i = LN_SPLIT_COEF.length-2; i >= 0; i--) {
-            splitMult(y, x2, a);
-            y[0] = a[0];
-            y[1] = a[1];
-            splitAdd(y, LN_SPLIT_COEF[i], a);
-            y[0] = a[0];
-            y[1] = a[1];
-        }
-
-        splitMult(y, x, a);
-        y[0] = a[0];
-        y[1] = a[1];
-
-        return y;
-    }
-
-
-    /**
-     * Print an array.
-     * @param out text output stream where output should be printed
-     * @param name array name
-     * @param expectedLen expected length of the array
-     * @param array2d array data
-     */
-    static void printarray(PrintStream out, String name, int expectedLen, double[][] array2d) {
-        out.println(name);
-        checkLen(expectedLen, array2d.length);
-        out.println(TABLE_START_DECL + " ");
-        int i = 0;
-        for(double[] array : array2d) { // "double array[]" causes PMD parsing error
-            out.print("        {");
-            for(double d : array) { // assume inner array has very few entries
-                out.printf("%-25.25s", format(d)); // multiple entries per line
-            }
-            out.println("}, // " + i++);
-        }
-        out.println(TABLE_END_DECL);
-    }
-
-    /**
-     * Print an array.
-     * @param out text output stream where output should be printed
-     * @param name array name
-     * @param expectedLen expected length of the array
-     * @param array array data
-     */
-    static void printarray(PrintStream out, String name, int expectedLen, double[] array) {
-        out.println(name + "=");
-        checkLen(expectedLen, array.length);
-        out.println(TABLE_START_DECL);
-        for(double d : array){
-            out.printf("        %s%n", format(d)); // one entry per line
-        }
-        out.println(TABLE_END_DECL);
-    }
-
-    /** Format a double.
-     * @param d double number to format
-     * @return formatted number
-     */
-    static String format(double d) {
-        if (d != d) {
-            return "Double.NaN,";
-        } else {
-            return ((d >= 0) ? "+" : "") + Double.toString(d) + "d,";
-        }
-    }
-
-    /**
-     * Check two lengths are equal.
-     * @param expectedLen expected length
-     * @param actual actual length
-     * @exception DimensionMismatchException if the two lengths are not equal
-     */
-    private static void checkLen(int expectedLen, int actual)
-        throws DimensionMismatchException {
-        if (expectedLen != actual) {
-            throw new DimensionMismatchException(actual, expectedLen);
-        }
-    }
-
-}
diff --git a/commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/jdkmath/AccurateMathLiteralArrays.java.bak b/commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/jdkmath/AccurateMathLiteralArrays.java.bak
deleted file mode 100644
index 1767ddf..0000000
--- a/commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/jdkmath/AccurateMathLiteralArrays.java.bak
+++ /dev/null
@@ -1,6175 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.commons.math4.legacy.util;
-
-/**
- * Utility class for loading tabulated data used by {@link AccurateMath}.
- *
- */
-class AccurateMathLiteralArrays {
-    /** Exponential evaluated at integer values,
-     * exp(x) =  expIntTableA[x + EXP_INT_TABLE_MAX_INDEX] + expIntTableB[x+EXP_INT_TABLE_MAX_INDEX].
-     */
-    private static final double[] EXP_INT_A = new double[] {
-        +0.0d,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        +1.2167807682331913E-308d,
-        +3.3075532478807267E-308d,
-        +8.990862214387203E-308d,
-        +2.4439696075216986E-307d,
-        +6.64339758024534E-307d,
-        +1.8058628951432254E-306d,
-        +4.908843759498681E-306d,
-        +1.334362017065677E-305d,
-        +3.627172425759641E-305d,
-        +9.85967600992008E-305d,
-        +2.680137967689915E-304d,
-        +7.285370725133842E-304d,
-        +1.9803689272433392E-303d,
-        +5.3832011494782624E-303d,
-        +1.463305638201413E-302d,
-        +3.9776772027043775E-302d,
-        +1.0812448255518705E-301d,
-        +2.9391280956327795E-301d,
-        +7.989378677301346E-301d,
-        +2.1717383041010577E-300d,
-        +5.903396499766243E-300d,
-        +1.604709595901607E-299d,
-        +4.3620527352131126E-299d,
-        +1.1857289715706991E-298d,
-        +3.2231452986239366E-298d,
-        +8.761416875971053E-298d,
-        +2.381600167287677E-297d,
-        +6.473860152384321E-297d,
-        +1.7597776278732318E-296d,
-        +4.7835721669653157E-296d,
-        +1.3003096668152053E-295d,
-        +3.5346080979652066E-295d,
-        +9.608060944124859E-295d,
-        +2.6117415961302846E-294d,
-        +7.099449830809996E-294d,
-        +1.9298305829106006E-293d,
-        +5.245823134132673E-293d,
-        +1.4259627797225802E-292d,
-        +3.8761686729764145E-292d,
-        +1.0536518897078156E-291d,
-        +2.864122672853628E-291d,
-        +7.785491934690374E-291d,
-        +2.116316283183901E-290d,
-        +5.7527436249968E-290d,
-        +1.5637579898345352E-289d,
-        +4.250734424415339E-289d,
-        +1.1554696041977512E-288d,
-        +3.1408919441362495E-288d,
-        +8.537829238438662E-288d,
-        +2.320822576772103E-287d,
-        +6.308649765138419E-287d,
-        +1.7148689119310826E-286d,
-        +4.66149719271323E-286d,
-        +1.267126226441217E-285d,
-        +3.444406231880653E-285d,
-        +9.362866914115166E-285d,
-        +2.5450911557068313E-284d,
-        +6.918275021321188E-284d,
-        +1.880582039589629E-283d,
-        +5.111952261540649E-283d,
-        +1.3895726688907995E-282d,
-        +3.7772500667438066E-282d,
-        +1.026763015362553E-281d,
-        +2.791031173360063E-281d,
-        +7.586808748646825E-281d,
-        +2.0623086887184633E-280d,
-        +5.605936171588964E-280d,
-        +1.5238514098804918E-279d,
-        +4.1422578754033235E-279d,
-        +1.1259823210174452E-278d,
-        +3.060737220976933E-278d,
-        +8.319947089683576E-278d,
-        +2.2615958035357106E-277d,
-        +6.147655179898435E-277d,
-        +1.6711060014400145E-276d,
-        +4.542536646012133E-276d,
-        +1.2347896500246374E-275d,
-        +3.3565057475434694E-275d,
-        +9.123929070778758E-275d,
-        +2.4801413921885483E-274d,
-        +6.741722283079056E-274d,
-        +1.8325902719086093E-273d,
-        +4.981496462621207E-273d,
-        +1.3541112064618357E-272d,
-        +3.68085620656127E-272d,
-        +1.0005602916630382E-271d,
-        +2.719805132368625E-271d,
-        +7.393196131284108E-271d,
-        +2.0096791226867E-270d,
-        +5.462874707256208E-270d,
-        +1.4849631831943512E-269d,
-        +4.036548930895323E-269d,
-        +1.0972476870931676E-268d,
-        +2.9826282194717127E-268d,
-        +8.107624153838987E-268d,
-        +2.2038806519542315E-267d,
-        +5.990769236615968E-267d,
-        +1.628459873440512E-266d,
-        +4.4266130556431266E-266d,
-        +1.203278237867575E-265d,
-        +3.270849446965521E-265d,
-        +8.891090288030614E-265d,
-        +2.4168487931443637E-264d,
-        +6.569676185250389E-264d,
-        +1.7858231429575898E-263d,
-        +4.85437090269903E-263d,
-        +1.3195548295785448E-262d,
-        +3.5869215528816054E-262d,
-        +9.750264097807267E-262d,
-        +2.650396454019762E-261d,
-        +7.204525142098426E-261d,
-        +1.958392846081373E-260d,
-        +5.32346341339996E-260d,
-        +1.4470673509275515E-259d,
-        +3.9335373658569176E-259d,
-        +1.0692462289051038E-258d,
-        +2.9065128598079075E-258d,
-        +7.900720862969045E-258d,
-        +2.147638465376883E-257d,
-        +5.8378869339035456E-257d,
-        +1.5869022483809747E-256d,
-        +4.3136475849391444E-256d,
-        +1.1725710340687719E-255d,
-        +3.1873780814410126E-255d,
-        +8.66419234315257E-255d,
-        +2.35517168886351E-254d,
-        +6.402020300783889E-254d,
-        +1.740249660600677E-253d,
-        +4.7304887145310405E-253d,
-        +1.2858802448614707E-252d,
-        +3.495384792953975E-252d,
-        +9.501439740542955E-252d,
-        +2.582759362004277E-251d,
-        +7.020668578160457E-251d,
-        +1.908415302517694E-250d,
-        +5.1876107490791666E-250d,
-        +1.4101386971763257E-249d,
-        +3.8331545111676784E-249d,
-        +1.0419594359065132E-248d,
-        +2.8323395451363237E-248d,
-        +7.699097067385825E-248d,
-        +2.0928317096428755E-247d,
-        +5.688906371296133E-247d,
-        +1.5464049837965422E-246d,
-        +4.2035646586788297E-246d,
-        +1.1426473877336358E-245d,
-        +3.106037603716254E-245d,
-        +8.443084996839363E-245d,
-        +2.2950686306677644E-244d,
-        +6.238642390386363E-244d,
-        +1.695838923802857E-243d,
-        +4.6097680405580995E-243d,
-        +1.2530649392922358E-242d,
-        +3.4061835424180075E-242d,
-        +9.25896798127602E-242d,
-        +2.5168480541429286E-241d,
-        +6.841502859109196E-241d,
-        +1.8597132378953187E-240d,
-        +5.055224959032211E-240d,
-        +1.374152583940637E-239d,
-        +3.735333866258403E-239d,
-        +1.0153690688015855E-238d,
-        +2.7600590782738726E-238d,
-        +7.502618487550056E-238d,
-        +2.0394233446495043E-237d,
-        +5.543727690168612E-237d,
-        +1.5069412868172555E-236d,
-        +4.0962906236847E-236d,
-        +1.1134873918971586E-235d,
-        +3.026772467749944E-235d,
-        +8.227620163729258E-235d,
-        +2.2364990583200056E-234d,
-        +6.079434951446575E-234d,
-        +1.6525617499662284E-233d,
-        +4.4921289690525345E-233d,
-        +1.2210872189854344E-232d,
-        +3.3192593301633E-232d,
-        +9.02268127425393E-232d,
-        +2.4526190464373087E-231d,
-        +6.666909874218774E-231d,
-        +1.8122539547625083E-230d,
-        +4.926216840507529E-230d,
-        +1.3390847149416908E-229d,
-        +3.6400093808551196E-229d,
-        +9.894571625944288E-229d,
-        +2.689623698321582E-228d,
-        +7.31115423069187E-228d,
-        +1.9873779569310022E-227d,
-        +5.402252865260326E-227d,
-        +1.4684846983789053E-226d,
-        +3.991755413823315E-226d,
-        +1.0850715739509136E-225d,
-        +2.9495302004590423E-225d,
-        +8.017654713159388E-225d,
-        +2.179424521221378E-224d,
-        +5.924290380648597E-224d,
-        +1.6103890140790331E-223d,
-        +4.377491272857675E-223d,
-        +1.1899254154663847E-222d,
-        +3.2345523990372546E-222d,
-        +8.792425221770645E-222d,
-        +2.3900289095512176E-221d,
-        +6.496772856703278E-221d,
-        +1.7660059778220905E-220d,
-        +4.800501435803201E-220d,
-        +1.3049116216750674E-219d,
-        +3.5471180281159325E-219d,
-        +9.642065709892252E-219d,
-        +2.6209850274990846E-218d,
-        +7.124574366530717E-218d,
-        +1.9366601417010147E-217d,
-        +5.264388476949737E-217d,
-        +1.431009021985696E-216d,
-        +3.889885799962507E-216d,
-        +1.057380684430436E-215d,
-        +2.8742587656021775E-215d,
-        +7.813044552050569E-215d,
-        +2.1238058974550874E-214d,
-        +5.773102661099307E-214d,
-        +1.5692921723471877E-213d,
-        +4.2657777816050375E-213d,
-        +1.1595585743839232E-212d,
-        +3.1520070828798975E-212d,
-        +8.568043768122183E-212d,
-        +2.329035966595791E-211d,
-        +6.33097561889469E-211d,
-        +1.720937714565362E-210d,
-        +4.677993239821998E-210d,
-        +1.2716105485691878E-209d,
-        +3.456595573934475E-209d,
-        +9.396000024637834E-209d,
-        +2.55409795397022E-208d,
-        +6.942757623821567E-208d,
-        +1.887237361505784E-207d,
-        +5.13004286606108E-207d,
-        +1.3944901709366118E-206d,
-        +3.7906173667738715E-206d,
-        +1.0303966192973381E-205d,
-        +2.8009086220877197E-205d,
-        +7.613657850210907E-205d,
-        +2.0696069842597556E-204d,
-        +5.6257755605305175E-204d,
-        +1.5292444435954893E-203d,
-        +4.156916476922876E-203d,
-        +1.12996721591364E-202d,
-        +3.071569248856111E-202d,
-        +8.349390727162016E-202d,
-        +2.2695999828608633E-201d,
-        +6.1694117899971836E-201d,
-        +1.677020107827128E-200d,
-        +4.558612479525779E-200d,
-        +1.2391595516612638E-199d,
-        +3.3683846288580648E-199d,
-        +9.156218120779494E-199d,
-        +2.4889182184335247E-198d,
-        +6.765580431441772E-198d,
-        +1.839075686473352E-197d,
-        +4.999126524757713E-197d,
-        +1.3589033107846643E-196d,
-        +3.6938826366068014E-196d,
-        +1.0041012794280992E-195d,
-        +2.7294301888986675E-195d,
-        +7.419361045185406E-195d,
-        +2.016791373353671E-194d,
-        +5.482208065983983E-194d,
-        +1.490218341008089E-193d,
-        +4.050833763855709E-193d,
-        +1.101130773265179E-192d,
-        +2.993183789477209E-192d,
-        +8.136316299122392E-192d,
-        +2.2116799789922265E-191d,
-        +6.011969568315371E-191d,
-        +1.6342228966392253E-190d,
-        +4.4422779589171113E-190d,
-        +1.2075364784547675E-189d,
-        +3.282424571107068E-189d,
-        +8.92255448602772E-189d,
-        +2.425402115319395E-188d,
-        +6.592926904915355E-188d,
-        +1.79214305133496E-187d,
-        +4.871550528055661E-187d,
-        +1.3242245776666673E-186d,
-        +3.599615946028287E-186d,
-        +9.78476998200719E-186d,
-        +2.659776075359514E-185d,
-        +7.230020851688713E-185d,
-        +1.9653234116333892E-184d,
-        +5.34230278107224E-184d,
-        +1.4521887058451231E-183d,
-        +3.947457923821984E-183d,
-        +1.0730302255093144E-182d,
-        +2.9167986204137332E-182d,
-        +7.928680793406766E-182d,
-        +2.1552386987482013E-181d,
-        +5.858546779607288E-181d,
-        +1.5925182066949723E-180d,
-        +4.328913614497258E-180d,
-        +1.1767205227552116E-179d,
-        +3.198658219194836E-179d,
-        +8.694853785564504E-179d,
-        +2.363506255864984E-178d,
-        +6.42467573615509E-178d,
-        +1.746408207555959E-177d,
-        +4.747229597770176E-177d,
-        +1.2904307529671472E-176d,
-        +3.507754341050756E-176d,
-        +9.535066345267336E-176d,
-        +2.591899541396432E-175d,
-        +7.045512786902009E-175d,
-        +1.9151693415969248E-174d,
-        +5.205969622575851E-174d,
-        +1.4151292367806538E-173d,
-        +3.846720258072078E-173d,
-        +1.045647032279984E-172d,
-        +2.8423629805010285E-172d,
-        +7.726344058192276E-172d,
-        +2.1002377128928765E-171d,
-        +5.709039546124285E-171d,
-        +1.5518778128928824E-170d,
-        +4.218440703602533E-170d,
-        +1.1466910691560932E-169d,
-        +3.1170298734336303E-169d,
-        +8.472965161251656E-169d,
-        +2.303190374523956E-168d,
-        +6.260720440258473E-168d,
-        +1.701840523821621E-167d,
-        +4.62608152166211E-167d,
-        +1.2574995962791943E-166d,
-        +3.418237608335161E-166d,
-        +9.29173407843235E-166d,
-        +2.5257552661512635E-165d,
-        +6.865714679174435E-165d,
-        +1.866294830116931E-164d,
-        +5.073114566291778E-164d,
-        +1.3790154522394582E-163d,
-        +3.7485528226129495E-163d,
-        +1.0189624503698769E-162d,
-        +2.7698267293941856E-162d,
-        +7.529170882336924E-162d,
-        +2.0466404088178596E-161d,
-        +5.56334611651382E-161d,
-        +1.512274346576166E-160d,
-        +4.110787043867721E-160d,
-        +1.1174279267498045E-159d,
-        +3.0374839443564585E-159d,
-        +8.25673801176584E-159d,
-        +2.244414150254963E-158d,
-        +6.1009492034592176E-158d,
-        +1.6584100275603453E-157d,
-        +4.50802633729044E-157d,
-        +1.2254085656601853E-156d,
-        +3.3310057014599044E-156d,
-        +9.054612259832416E-156d,
-        +2.4612985502035675E-155d,
-        +6.690503835950083E-155d,
-        +1.8186679660152888E-154d,
-        +4.9436516047443576E-154d,
-        +1.3438240331106108E-153d,
-        +3.652892398145774E-153d,
-        +9.92958982547828E-153d,
-        +2.6991427376823027E-152d,
-        +7.3370297995122135E-152d,
-        +1.994411660450821E-151d,
-        +5.421372463189529E-151d,
-        +1.4736818914204564E-150d,
-        +4.005882964287806E-150d,
-        +1.088911919926534E-149d,
-        +2.9599693109692324E-149d,
-        +8.046030012041041E-149d,
-        +2.18713790898745E-148d,
-        +5.945256705384597E-148d,
-        +1.6160884846515524E-147d,
-        +4.392983574030969E-147d,
-        +1.1941366764543551E-146d,
-        +3.2460001983475855E-146d,
-        +8.8235440586675E-146d,
-        +2.3984878190403553E-145d,
-        +6.519765758635405E-145d,
-        +1.772256261139753E-144d,
-        +4.817491674217065E-144d,
-        +1.3095299991573769E-143d,
-        +3.559671483107555E-143d,
-        +9.676190774054103E-143d,
-        +2.630261301303634E-142d,
-        +7.149792225695347E-142d,
-        +1.943514969662872E-141d,
-        +5.283020542151163E-141d,
-        +1.4360739330834996E-140d,
-        +3.9036541111764032E-140d,
-        +1.0611230602364477E-139d,
-        +2.8844319473099593E-139d,
-        +7.84069876400596E-139d,
-        +2.1313228444765414E-138d,
-        +5.793536445518422E-138d,
-        +1.5748463788034308E-137d,
-        +4.2808762411845363E-137d,
-        +1.1636629220608724E-136d,
-        +3.163163464591171E-136d,
-        +8.598369704466743E-136d,
-        +2.337279322276433E-135d,
-        +6.353384093665193E-135d,
-        +1.7270287031459572E-134d,
-        +4.694550492773212E-134d,
-        +1.2761111606368036E-133d,
-        +3.4688299108856403E-133d,
-        +9.429257929713919E-133d,
-        +2.5631381141873417E-132d,
-        +6.967331001069377E-132d,
-        +1.8939170679975288E-131d,
-        +5.148199748336684E-131d,
-        +1.3994258162094293E-130d,
-        +3.804034213613942E-130d,
-        +1.0340436948077763E-129d,
-        +2.8108219632627907E-129d,
-        +7.640606938467665E-129d,
-        +2.0769322678328357E-128d,
-        +5.645687086879944E-128d,
-        +1.5346568127351796E-127d,
-        +4.171630237420918E-127d,
-        +1.1339665711932977E-126d,
-        +3.0824406750909563E-126d,
-        +8.37894218404787E-126d,
-        +2.2776327994966818E-125d,
-        +6.191247522703296E-125d,
-        +1.6829556040859853E-124d,
-        +4.5747479502862494E-124d,
-        +1.2435453481209945E-123d,
-        +3.3803067202247166E-123d,
-        +9.188625696750548E-123d,
-        +2.4977273040076145E-122d,
-        +6.789527378582775E-122d,
-        +1.845584943222965E-121d,
-        +5.016820182185716E-121d,
-        +1.3637129731022491E-120d,
-        +3.706956710275979E-120d,
-        +1.0076552294433743E-119d,
-        +2.739090595934893E-119d,
-        +7.445620503219039E-119d,
-        +2.023929422267303E-118d,
-        +5.501611507503037E-118d,
-        +1.4954928881576769E-117d,
-        +4.0651709187617596E-117d,
-        +1.1050280679513555E-116d,
-        +3.003777734030334E-116d,
-        +8.165114384910189E-116d,
-        +2.219508285637377E-115d,
-        +6.033249389304709E-115d,
-        +1.6400070480930697E-114d,
-        +4.458001565878111E-114d,
-        +1.2118105325725891E-113d,
-        +3.2940421731384895E-113d,
-        +8.954135150208654E-113d,
-        +2.433986351722258E-112d,
-        +6.616260705434716E-112d,
-        +1.7984863104885375E-111d,
-        +4.888792154132158E-111d,
-        +1.3289115531074511E-110d,
-        +3.612356038181234E-110d,
-        +9.819402293160495E-110d,
-        +2.6691899766673256E-109d,
-        +7.255611264437603E-109d,
-        +1.9722796756250217E-108d,
-        +5.361211684173837E-108d,
-        +1.4573285967670963E-107d,
-        +3.961429477016909E-107d,
-        +1.0768281419102595E-106d,
-        +2.9271223293841774E-106d,
-        +7.956744351476403E-106d,
-        +2.1628672925745152E-105d,
-        +5.879282834821692E-105d,
-        +1.5981547034872092E-104d,
-        +4.344234755347641E-104d,
-        +1.1808855501885005E-103d,
-        +3.2099795870407646E-103d,
-        +8.725629524586503E-103d,
-        +2.3718718327094683E-102d,
-        +6.44741641521183E-102d,
-        +1.7525895549820557E-101d,
-        +4.7640323331013947E-101d,
-        +1.2949980563724296E-100d,
-        +3.5201699899499525E-100d,
-        +9.56881327374431E-100d,
-        +2.6010732940533088E-99d,
-        +7.070450309820548E-99d,
-        +1.9219478787856753E-98d,
-        +5.2243955659975294E-98d,
-        +1.4201378353978042E-97d,
-        +3.8603349913851996E-97d,
-        +1.0493479260117497E-96d,
-        +2.8524232604238555E-96d,
-        +7.753690709912764E-96d,
-        +2.1076716069929933E-95d,
-        +5.72924572981599E-95d,
-        +1.5573703263204683E-94d,
-        +4.233371554108682E-94d,
-        +1.1507496472539512E-93d,
-        +3.1280620563875923E-93d,
-        +8.5029538631631E-93d,
-        +2.3113425190436427E-92d,
-        +6.28287989314225E-92d,
-        +1.7078641226055994E-91d,
-        +4.6424556110307644E-91d,
-        +1.261950308999819E-90d,
-        +3.430336362898836E-90d,
-        +9.324622137237299E-90d,
-        +2.5346947846365435E-89d,
-        +6.890014851450124E-89d,
-        +1.8729003560057785E-88d,
-        +5.091070300111434E-88d,
-        +1.3838964592430477E-87d,
-        +3.761820584522275E-87d,
-        +1.0225689628581036E-86d,
-        +2.7796303536272215E-86d,
-        +7.555818934379333E-86d,
-        +2.053884626293416E-85d,
-        +5.583037134407759E-85d,
-        +1.5176268538776042E-84d,
-        +4.125337057189083E-84d,
-        +1.121383042095528E-83d,
-        +3.0482348236054953E-83d,
-        +8.285962249116636E-83d,
-        +2.2523580600947705E-82d,
-        +6.122543452787843E-82d,
-        +1.664279766968299E-81d,
-        +4.523982262003404E-81d,
-        +1.2297456769063303E-80d,
-        +3.342795345742034E-80d,
-        +9.086660081726823E-80d,
-        +2.4700104681773258E-79d,
-        +6.714184569587689E-79d,
-        +1.8251046352720517E-78d,
-        +4.961148056969105E-78d,
-        +1.3485799924445315E-77d,
-        +3.665820371396835E-77d,
-        +9.964732578705785E-77d,
-        +2.708695208461993E-76d,
-        +7.362996533913695E-76d,
-        +2.0014700145557332E-75d,
-        +5.440559532453721E-75d,
-        +1.4788974793889734E-74d,
-        +4.020060558571273E-74d,
-        +1.092765612182012E-73d,
-        +2.970445258959489E-73d,
-        +8.074507236705857E-73d,
-        +2.1948784599535102E-72d,
-        +5.966298125808066E-72d,
-        +1.6218081151910012E-71d,
-        +4.408531734441582E-71d,
-        +1.198363039426718E-70d,
-        +3.257488853378793E-70d,
-        +8.854771398921902E-70d,
-        +2.406976727302894E-69d,
-        +6.542840888268955E-69d,
-        +1.778528517418201E-68d,
-        +4.834541417183388E-68d,
-        +1.3141647465063647E-67d,
-        +3.572270133517001E-67d,
-        +9.710435805122717E-67d,
-        +2.63957027915428E-66d,
-        +7.175096392165733E-66d,
-        +1.9503931430716318E-65d,
-        +5.3017188565638215E-65d,
-        +1.4411566290936352E-64d,
-        +3.9174693825966044E-64d,
-        +1.0648786018364265E-63d,
-        +2.8946401383311E-63d,
-        +7.868447965383903E-63d,
-        +2.1388659707647114E-62d,
-        +5.814040618670345E-62d,
-        +1.5804200403673568E-61d,
-        +4.296027044486766E-61d,
-        +1.1677812418806031E-60d,
-        +3.174358801839755E-60d,
-        +8.62880163941313E-60d,
-        +2.345551464945955E-59d,
-        +6.3758692300917355E-59d,
-        +1.733140900346534E-58d,
-        +4.711165925070571E-58d,
-        +1.2806275683797178E-57d,
-        +3.481106736845E-57d,
-        +9.462629520363307E-57d,
-        +2.5722094667974783E-56d,
-        +6.9919903587080315E-56d,
-        +1.9006201022568844E-55d,
-        +5.166420404109835E-55d,
-        +1.4043786616805493E-54d,
-        +3.8174968984748894E-54d,
-        +1.03770335512154E-53d,
-        +2.820769858672565E-53d,
-        +7.667647949477605E-53d,
-        +2.0842827711783212E-52d,
-        +5.6656680900216754E-52d,
-        +1.5400881501571645E-51d,
-        +4.1863938339341257E-51d,
-        +1.1379799629071911E-50d,
-        +3.093350150840571E-50d,
-        +8.408597060399334E-50d,
-        +2.2856938448387544E-49d,
-        +6.2131591878042886E-49d,
-        +1.688911928929718E-48d,
-        +4.5909386437919143E-48d,
-        +1.2479464696643861E-47d,
-        +3.3922703599272275E-47d,
-        +9.221146830884422E-47d,
-        +2.5065676066043174E-46d,
-        +6.8135571305481364E-46d,
-        +1.8521166948363666E-45d,
-        +5.0345752964740226E-45d,
-        +1.368539456379101E-44d,
-        +3.720075801577098E-44d,
-        +1.0112214979786464E-43d,
-        +2.7487849807248755E-43d,
-        +7.47197247068667E-43d,
-        +2.0310928323153876E-42d,
-        +5.521082422279256E-42d,
-        +1.5007857288519654E-41d,
-        +4.0795586181406803E-41d,
-        +1.108938997126179E-40d,
-        +3.0144088843073416E-40d,
-        +8.194012195477669E-40d,
-        +2.2273635587196807E-39d,
-        +6.054601485195952E-39d,
-        +1.6458113136245473E-38d,
-        +4.473779311490168E-38d,
-        +1.2160992719555806E-37d,
-        +3.3057007442449645E-37d,
-        +8.985825281444118E-37d,
-        +2.442600707513088E-36d,
-        +6.639677673630215E-36d,
-        +1.8048513285848406E-35d,
-        +4.906094420881007E-35d,
-        +1.3336148713971936E-34d,
-        +3.625141007634431E-34d,
-        +9.854154449263851E-34d,
-        +2.6786368134431636E-33d,
-        +7.28128971953363E-33d,
-        +1.9792597720953414E-32d,
-        +5.380185921962174E-32d,
-        +1.4624861244004054E-31d,
-        +3.975449484028966E-31d,
-        +1.080639291795678E-30d,
-        +2.9374821418009058E-30d,
-        +7.984904044796711E-30d,
-        +2.1705221445447534E-29d,
-        +5.900089995748943E-29d,
-        +1.6038109389511792E-28d,
-        +4.359610133382778E-28d,
-        +1.185064946717304E-27d,
-        +3.221340469489223E-27d,
-        +8.756510122348782E-27d,
-        +2.380266370880709E-26d,
-        +6.47023467943241E-26d,
-        +1.75879225876483E-25d,
-        +4.780892502168074E-25d,
-        +1.2995814853898995E-24d,
-        +3.5326287852455166E-24d,
-        +9.602680736954162E-24d,
-        +2.6102792042257208E-23d,
-        +7.095474414148981E-23d,
-        +1.9287497671359936E-22d,
-        +5.242885191553114E-22d,
-        +1.4251641388208515E-21d,
-        +3.873997809109103E-21d,
-        +1.0530616658562386E-20d,
-        +2.862518609581133E-20d,
-        +7.78113163345177E-20d,
-        +2.1151310700892382E-19d,
-        +5.74952254077566E-19d,
-        +1.5628822871880503E-18d,
-        +4.24835413113866E-18d,
-        +1.1548223864099742E-17d,
-        +3.139132557537509E-17d,
-        +8.533046968331264E-17d,
-        +2.3195229636950566E-16d,
-        +6.305116324200775E-16d,
-        +1.71390848833098E-15d,
-        +4.6588861918718874E-15d,
-        +1.2664165777252073E-14d,
-        +3.442477422913037E-14d,
-        +9.357622912219837E-14d,
-        +2.5436656904062604E-13d,
-        +6.914399608426436E-13d,
-        +1.879528650772233E-12d,
-        +5.1090893668503945E-12d,
-        +1.3887944613766301E-11d,
-        +3.775134371775124E-11d,
-        +1.0261880234452292E-10d,
-        +2.789468100949932E-10d,
-        +7.582560135332983E-10d,
-        +2.061153470123145E-9d,
-        +5.602796449011294E-9d,
-        +1.5229979055675358E-8d,
-        +4.139937459513021E-8d,
-        +1.1253517584464134E-7d,
-        +3.059023470086686E-7d,
-        +8.315287232107949E-7d,
-        +2.260329438286135E-6d,
-        +6.1442124206223525E-6d,
-        +1.670170240686275E-5d,
-        +4.539993096841499E-5d,
-        +1.2340981629677117E-4d,
-        +3.35462624207139E-4d,
-        +9.118819143623114E-4d,
-        +0.0024787522852420807d,
-        +0.006737947463989258d,
-        +0.018315639346837997d,
-        +0.049787066876888275d,
-        +0.1353352963924408d,
-        +0.3678794503211975d,
-        +1.0d,
-        +2.7182817459106445d,
-        +7.389056205749512d,
-        +20.08553695678711d,
-        +54.59815216064453d,
-        +148.41314697265625d,
-        +403.42877197265625d,
-        +1096.633056640625d,
-        +2980.9580078125d,
-        +8103.083984375d,
-        +22026.46484375d,
-        +59874.140625d,
-        +162754.78125d,
-        +442413.375d,
-        +1202604.25d,
-        +3269017.5d,
-        +8886110.0d,
-        +2.4154952E7d,
-        +6.5659968E7d,
-        +1.78482304E8d,
-        +4.85165184E8d,
-        +1.318815744E9d,
-        +3.584912896E9d,
-        +9.74480384E9d,
-        +2.6489122816E10d,
-        +7.200489472E10d,
-        +1.95729620992E11d,
-        +5.32048248832E11d,
-        +1.446257098752E12d,
-        +3.9313342464E12d,
-        +1.0686474223616E13d,
-        +2.904884772864E13d,
-        +7.8962956959744E13d,
-        +2.14643574308864E14d,
-        +5.83461777702912E14d,
-        +1.586013579247616E15d,
-        +4.31123180027904E15d,
-        +1.1719142537166848E16d,
-        +3.1855931348221952E16d,
-        +8.6593395455164416E16d,
-        +2.35385270340419584E17d,
-        +6.3984347447610573E17d,
-        +1.73927483790327808E18d,
-        +4.7278395262972723E18d,
-        +1.285159987981792E19d,
-        +3.493427277593156E19d,
-        +9.496119530068797E19d,
-        +2.581312717296228E20d,
-        +7.016736290557636E20d,
-        +1.907346499785443E21d,
-        +5.1847060206155E21d,
-        +1.4093490364499379E22d,
-        +3.831007739580998E22d,
-        +1.0413759887481643E23d,
-        +2.8307533984544136E23d,
-        +7.694785471490595E23d,
-        +2.0916595931561093E24d,
-        +5.685720022003016E24d,
-        +1.545539007875769E25d,
-        +4.201209991636407E25d,
-        +1.142007304008196E26d,
-        +3.104297782658242E26d,
-        +8.43835682327257E26d,
-        +2.2937832658080656E27d,
-        +6.23514943204966E27d,
-        +1.694889206675675E28d,
-        +4.607187019879158E28d,
-        +1.2523630909973607E29d,
-        +3.4042761729010895E29d,
-        +9.253781621373885E29d,
-        +2.5154385492401904E30d,
-        +6.837671137556327E30d,
-        +1.8586717056324128E31d,
-        +5.05239404378821E31d,
-        +1.3733830589835937E32d,
-        +3.733241849647479E32d,
-        +1.014800418749161E33d,
-        +2.758513549969986E33d,
-        +7.498416981578345E33d,
-        +2.0382811492597872E34d,
-        +5.540622484676759E34d,
-        +1.5060972626944096E35d,
-        +4.0939972479624634E35d,
-        +1.1128638067747114E36d,
-        +3.0250770246136387E36d,
-        +8.223012393018281E36d,
-        +2.2352467822017166E37d,
-        +6.076029840339376E37d,
-        +1.6516361647240826E38d,
-        +4.4896127778163155E38d,
-        +1.2204032949639917E39d,
-        +3.3174000012927697E39d,
-        +9.017628107716908E39d,
-        +2.451245443147225E40d,
-        +6.663175904917432E40d,
-        +1.8112388823726723E41d,
-        +4.923458004084836E41d,
-        +1.3383347029375378E42d,
-        +3.637970747803715E42d,
-        +9.889030935681123E42d,
-        +2.6881169167589747E43d,
-        +7.307059786371152E43d,
-        +1.986264756071962E44d,
-        +5.399227989109673E44d,
-        +1.467662348860426E45d,
-        +3.989519470441919E45d,
-        +1.0844638420493122E46d,
-        +2.9478781225754055E46d,
-        +8.013164089994031E46d,
-        +2.1782039447564253E47d,
-        +5.920972420778763E47d,
-        +1.609486943324346E48d,
-        +4.3750396394525074E48d,
-        +1.1892591576149107E49d,
-        +3.2327411123173475E49d,
-        +8.787501601904039E49d,
-        +2.3886908001521312E50d,
-        +6.493134033643613E50d,
-        +1.7650169203544438E51d,
-        +4.7978130078372714E51d,
-        +1.3041809768060802E52d,
-        +3.5451314095271004E52d,
-        +9.636666808527841E52d,
-        +2.6195174357581655E53d,
-        +7.120586694432509E53d,
-        +1.9355758655647052E54d,
-        +5.2614409704305464E54d,
-        +1.4302079642723736E55d,
-        +3.8877083524279136E55d,
-        +1.0567886837680406E56d,
-        +2.872649515690124E56d,
-        +7.808670894670738E56d,
-        +2.1226166967029073E57d,
-        +5.769871153180574E57d,
-        +1.568413405104933E58d,
-        +4.263390023436419E58d,
-        +1.1589095247718807E59d,
-        +3.150242850860434E59d,
-        +8.563247933339596E59d,
-        +2.3277319969498524E60d,
-        +6.327431953939798E60d,
-        +1.719974302355042E61d,
-        +4.675374788964851E61d,
-        +1.2708985520400816E62d,
-        +3.454660807101683E62d,
-        +9.390740355567705E62d,
-        +2.5526681615684215E63d,
-        +6.938871462941557E63d,
-        +1.8861808782043154E64d,
-        +5.1271712215233855E64d,
-        +1.3937096689052236E65d,
-        +3.7884955399150257E65d,
-        +1.0298199046367501E66d,
-        +2.799340708992666E66d,
-        +7.609396391563323E66d,
-        +2.0684484008569103E67d,
-        +5.622626080395226E67d,
-        +1.528388084444653E68d,
-        +4.1545899609113734E68d,
-        +1.1293346659459732E69d,
-        +3.069849599753188E69d,
-        +8.344717266683004E69d,
-        +2.268329019570017E70d,
-        +6.165958325782564E70d,
-        +1.676081191364984E71d,
-        +4.556060380835955E71d,
-        +1.2384658100355657E72d,
-        +3.3664990715562672E72d,
-        +9.15109220707761E72d,
-        +2.4875248571153216E73d,
-        +6.761793219649385E73d,
-        +1.8380461271305958E74d,
-        +4.996327312938759E74d,
-        +1.3581426848077408E75d,
-        +3.691814001080034E75d,
-        +1.0035391101975138E76d,
-        +2.7279024753382288E76d,
-        +7.415207287657125E76d,
-        +2.0156621983963848E77d,
-        +5.479138512760614E77d,
-        +1.4893842728520671E78d,
-        +4.048565732162643E78d,
-        +1.1005142643914475E79d,
-        +2.991508131437659E79d,
-        +8.131762373533769E79d,
-        +2.210442148596269E80d,
-        +6.008604166110734E80d,
-        +1.633308028614055E81d,
-        +4.439791652732591E81d,
-        +1.206860599814453E82d,
-        +3.280586734644871E82d,
-        +8.917559854082513E82d,
-        +2.4240442814945802E83d,
-        +6.589235682116406E83d,
-        +1.7911398904871E84d,
-        +4.86882298924053E84d,
-        +1.3234832005748183E85d,
-        +3.597600556519039E85d,
-        +9.77929222446451E85d,
-        +2.658286976862848E86d,
-        +7.225974166887662E86d,
-        +1.9642232209552433E87d,
-        +5.3393125705958075E87d,
-        +1.4513757076459615E88d,
-        +3.945247871835613E88d,
-        +1.0724295693252266E89d,
-        +2.915165904253785E89d,
-        +7.924242330665303E89d,
-        +2.1540322390343345E90d,
-        +5.855267177907345E90d,
-        +1.5916266807316476E91d,
-        +4.326489915443873E91d,
-        +1.1760619079592718E92d,
-        +3.1968677404735245E92d,
-        +8.689987517871135E92d,
-        +2.3621834216830225E93d,
-        +6.421080550439423E93d,
-        +1.7454306955949023E94d,
-        +4.744571892885607E94d,
-        +1.2897084285532175E95d,
-        +3.505791114318544E95d,
-        +9.529727908157224E95d,
-        +2.5904487437231458E96d,
-        +7.041568925985714E96d,
-        +1.9140971884979424E97d,
-        +5.203055142575272E97d,
-        +1.4143368931719686E98d,
-        +3.8445667684706366E98d,
-        +1.0450615121235744E99d,
-        +2.8407720200442806E99d,
-        +7.722018663521402E99d,
-        +2.0990624115923312E100d,
-        +5.705842978547001E100d,
-        +1.5510089388648915E101d,
-        +4.216079296087462E101d,
-        +1.1460491592124923E102d,
-        +3.1152847602082673E102d,
-        +8.468222063292654E102d,
-        +2.3019011105282883E103d,
-        +6.257216813084462E103d,
-        +1.7008878437355237E104d,
-        +4.62349260394851E104d,
-        +1.2567956334920216E105d,
-        +3.416324322370112E105d,
-        +9.286532888251822E105d,
-        +2.5243410574836706E106d,
-        +6.861870970598542E106d,
-        +1.8652499723625443E107d,
-        +5.070274654122399E107d,
-        +1.3782437251846782E108d,
-        +3.746454626411946E108d,
-        +1.0183920005400422E109d,
-        +2.768276122845335E109d,
-        +7.524954624697075E109d,
-        +2.0454950851007314E110d,
-        +5.56023190218245E110d,
-        +1.511427628805191E111d,
-        +4.1084862677372065E111d,
-        +1.1168024085164686E112d,
-        +3.0357834799588566E112d,
-        +8.252116273466952E112d,
-        +2.2431576057283144E113d,
-        +6.097534318207731E113d,
-        +1.65748157925005E114d,
-        +4.5055022172222453E114d,
-        +1.2247224482958058E115d,
-        +3.329140840363789E115d,
-        +9.049543313665034E115d,
-        +2.4599209935197392E116d,
-        +6.686758417135634E116d,
-        +1.817649308779104E117d,
-        +4.940883275207154E117d,
-        +1.3430713954289087E118d,
-        +3.6508464654683645E118d,
-        +9.924030156169606E118d,
-        +2.697631034485758E119d,
-        +7.332921137166064E119d,
-        +1.9932945470297703E120d,
-        +5.418336099279846E120d,
-        +1.472856595860236E121d,
-        +4.0036393271908754E121d,
-        +1.0883019300873278E122d,
-        +2.9583112936666607E122d,
-        +8.041523923017192E122d,
-        +2.1859129781586158E123d,
-        +5.941927186144745E123d,
-        +1.6151834292371802E124d,
-        +4.390523815859274E124d,
-        +1.1934680816813702E125d,
-        +3.2441826014060764E125d,
-        +8.81860282490643E125d,
-        +2.3971445233885962E126d,
-        +6.516115189736396E126d,
-        +1.7712635751001657E127d,
-        +4.814793918384117E127d,
-        +1.3087966177291396E128d,
-        +3.557678449715009E128d,
-        +9.670771210463886E128d,
-        +2.628788218289742E129d,
-        +7.145787619369324E129d,
-        +1.9424264981694277E130d,
-        +5.280062387569078E130d,
-        +1.4352697002457768E131d,
-        +3.901467289560222E131d,
-        +1.0605288965077546E132d,
-        +2.882816299252225E132d,
-        +7.836307815186044E132d,
-        +2.1301292155181736E133d,
-        +5.790291758828013E133d,
-        +1.573964437869041E134d,
-        +4.278478878300888E134d,
-        +1.1630112062985817E135d,
-        +3.1613917467297413E135d,
-        +8.593554223894477E135d,
-        +2.335970335559215E136d,
-        +6.349826172787151E136d,
-        +1.7260616357651607E137d,
-        +4.691921416188566E137d,
-        +1.2753966504932798E138d,
-        +3.466887271843006E138d,
-        +9.423976538577447E138d,
-        +2.561702766944378E139d,
-        +6.963429563637273E139d,
-        +1.892856346657855E140d,
-        +5.1453167686439515E140d,
-        +1.3986421289359558E141d,
-        +3.8019036618832785E141d,
-        +1.033464507572145E142d,
-        +2.809247950589945E142d,
-        +7.636326960498012E142d,
-        +2.075769060297565E143d,
-        +5.64252553828769E143d,
-        +1.5337974510118784E144d,
-        +4.169293918423203E144d,
-        +1.1333315586787883E145d,
-        +3.080714152600695E145d,
-        +8.374250298636991E145d,
-        +2.276357074042286E146d,
-        +6.187780443461367E146d,
-        +1.6820131331794073E147d,
-        +4.572185635487065E147d,
-        +1.2428488853188662E148d,
-        +3.378413594504258E148d,
-        +9.183480622172801E148d,
-        +2.4963286658278886E149d,
-        +6.785725312893433E149d,
-        +1.8445514681108982E150d,
-        +5.014010481958507E150d,
-        +1.3629491735708616E151d,
-        +3.7048805655699485E151d,
-        +1.0070909418550386E152d,
-        +2.7375567044077912E152d,
-        +7.441451374243517E152d,
-        +2.022795961737854E153d,
-        +5.4985298195094216E153d,
-        +1.494655405262451E154d,
-        +4.062894701808608E154d,
-        +1.1044092571980793E155d,
-        +3.002095574584687E155d,
-        +8.160542326793782E155d,
-        +2.218265110516721E156d,
-        +6.02987028472758E156d,
-        +1.6390888071605646E157d,
-        +4.455504920700703E157d,
-        +1.2111317421229415E158d,
-        +3.2921976772303727E158d,
-        +8.94912101169977E158d,
-        +2.432623425087251E159d,
-        +6.612555731556604E159d,
-        +1.7974788874847574E160d,
-        +4.8860545948985793E160d,
-        +1.328167263606087E161d,
-        +3.610333312791256E161d,
-        +9.813901863427107E161d,
-        +2.667695552814763E162d,
-        +7.251548346906463E162d,
-        +1.9711751621240536E163d,
-        +5.3582093498119173E163d,
-        +1.4565123573071036E164d,
-        +3.959211091077107E164d,
-        +1.0762251933089556E165d,
-        +2.9254832789181E165d,
-        +7.952287052787358E165d,
-        +2.161656025361765E166d,
-        +5.8759898326913254E166d,
-        +1.597259768214821E167d,
-        +4.3418021646459346E167d,
-        +1.1802241249113175E168d,
-        +3.2081817253680657E168d,
-        +8.720743087611513E168d,
-        +2.3705435424427623E169d,
-        +6.443805025317327E169d,
-        +1.7516078165936552E170d,
-        +4.7613641572445654E170d,
-        +1.2942728582966776E171d,
-        +3.518198614137319E171d,
-        +9.563454814394247E171d,
-        +2.5996166206245285E172d,
-        +7.066491077377918E172d,
-        +1.920871394985668E173d,
-        +5.221469250951617E173d,
-        +1.4193426880442385E174d,
-        +3.8581732071331E174d,
-        +1.0487601931965087E175d,
-        +2.850825930161946E175d,
-        +7.749348772180658E175d,
-        +2.1064911705560668E176d,
-        +5.726036941135634E176d,
-        +1.5564982816556894E177d,
-        +4.231000988846797E177d,
-        +1.1501053030837989E178d,
-        +3.1263099916916113E178d,
-        +8.498192212235393E178d,
-        +2.3100480183046895E179d,
-        +6.279361500971995E179d,
-        +1.7069074829463731E180d,
-        +4.63985600437427E180d,
-        +1.2612435745231905E181d,
-        +3.4284156709489884E181d,
-        +9.319400030019162E181d,
-        +2.5332752658571312E182d,
-        +6.88615578404537E182d,
-        +1.8718514371423056E183d,
-        +5.088219872370737E183d,
-        +1.3831214731781958E184d,
-        +3.759713966511158E184d,
-        +1.021996184153141E185d,
-        +2.778073442169904E185d,
-        +7.55158797540476E185d,
-        +2.0527342305586606E186d,
-        +5.579910641313343E186d,
-        +1.5167767828844167E187d,
-        +4.123026721295484E187d,
-        +1.1207549425651513E188d,
-        +3.0465278560980536E188d,
-        +8.281321669236493E188d,
-        +2.251096660331649E189d,
-        +6.119114404399683E189d,
-        +1.6633478556884994E190d,
-        +4.521448560089285E190d,
-        +1.2290570545894685E191d,
-        +3.340923580982338E191d,
-        +9.081571104550255E191d,
-        +2.468626868232408E192d,
-        +6.710424255583952E192d,
-        +1.8240823171621646E193d,
-        +4.958369974640573E193d,
-        +1.3478247120462365E194d,
-        +3.6637673548790206E194d,
-        +9.959152908532152E194d,
-        +2.707178052117959E195d,
-        +7.358873642076596E195d,
-        +2.0003490682463053E196d,
-        +5.4375131636754E196d,
-        +1.4780692924846082E197d,
-        +4.01780853635105E197d,
-        +1.0921536132159379E198d,
-        +2.968781250496917E198d,
-        +8.069984512111955E198d,
-        +2.193649279840519E199d,
-        +5.962956589227457E199d,
-        +1.620899738203635E200d,
-        +4.406062052965071E200d,
-        +1.1976919074588434E201d,
-        +3.2556641859513496E201d,
-        +8.849812639395597E201d,
-        +2.40562867677584E202d,
-        +6.539175932653188E202d,
-        +1.7775323307944624E203d,
-        +4.831833881898182E203d,
-        +1.3134287685114547E204d,
-        +3.5702693195009266E204d,
-        +9.704997606668411E204d,
-        +2.63809219778715E205d,
-        +7.171077244202293E205d,
-        +1.949300880034352E206d,
-        +5.298749302736127E206d,
-        +1.4403494631058154E207d,
-        +3.91527572177694E207d,
-        +1.0642823992403076E208d,
-        +2.8930193727937684E208d,
-        +7.8640411896421955E208d,
-        +2.1376680994038112E209d,
-        +5.8107841809216616E209d,
-        +1.5795351101531684E210d,
-        +4.293620869258453E210d,
-        +1.1671272667059652E211d,
-        +3.172580666390786E211d,
-        +8.623968972387222E211d,
-        +2.3442378838418366E212d,
-        +6.372298757235201E212d,
-        +1.7321703934464356E213d,
-        +4.708527306855985E213d,
-        +1.279910496643312E214d,
-        +3.479157135998568E214d,
-        +9.45732984079136E214d,
-        +2.5707689593428096E215d,
-        +6.988074107282322E215d,
-        +1.8995553996578656E216d,
-        +5.1635269305465607E216d,
-        +1.4035923083915864E217d,
-        +3.815359096108819E217d,
-        +1.0371220592190472E218d,
-        +2.819190456167585E218d,
-        +7.663353127378024E218d,
-        +2.083115484919861E219d,
-        +5.662495731848751E219d,
-        +1.5392257142577226E220d,
-        +4.184049381430498E220d,
-        +1.1373425785132867E221d,
-        +3.091617462831603E221d,
-        +8.403887374207366E221d,
-        +2.2844135610697528E222d,
-        +6.209679892802781E222d,
-        +1.6879660933816274E223d,
-        +4.588367423411997E223d,
-        +1.2472476068464461E224d,
-        +3.3903703993793316E224d,
-        +9.215982463319503E224d,
-        +2.5051637206758385E225d,
-        +6.809741127603255E225d,
-        +1.8510795864289367E226d,
-        +5.031755776868959E226d,
-        +1.3677729802316034E227d,
-        +3.7179924024793253E227d,
-        +1.0106552237522032E228d,
-        +2.7472456017809066E228d,
-        +7.467788172398272E228d,
-        +2.029955237703202E229d,
-        +5.517990469846618E229d,
-        +1.4999452522236406E230d,
-        +4.0772734783595525E230d,
-        +1.1083180046837618E231d,
-        +3.012720614547867E231d,
-        +8.18942426109357E231d,
-        +2.2261161215322043E232d,
-        +6.051211457626543E232d,
-        +1.6448897917725177E233d,
-        +4.471273900208441E233d,
-        +1.2154183152078517E234d,
-        +3.3038494682728794E234d,
-        +8.98079409878202E234d,
-        +2.4412328161430576E235d,
-        +6.63595840453991E235d,
-        +1.8038406914061554E236d,
-        +4.90334700062756E236d,
-        +1.3328680266667662E237d,
-        +3.623110695743118E237d,
-        +9.848636053777669E237d,
-        +2.677136737066629E238d,
-        +7.277212447141125E238d,
-        +1.978151484427976E239d,
-        +5.377173488599035E239d,
-        +1.4616672175682191E240d,
-        +3.973222981713661E240d,
-        +1.0800340064859439E241d,
-        +2.935837009891444E241d,
-        +7.980432566722885E241d,
-        +2.169306470354036E242d,
-        +5.896786161387733E242d,
-        +1.6029126916635028E243d,
-        +4.357168123448786E243d,
-        +1.1844011798406507E244d,
-        +3.2195361624179725E244d,
-        +8.751606149833694E244d,
-        +2.3789334438756013E245d,
-        +6.466611224443739E245d,
-        +1.7578073785142153E246d,
-        +4.7782149589194885E246d,
-        +1.2988535295611824E247d,
-        +3.5306502960727705E247d,
-        +9.597302512507479E247d,
-        +2.608817438130718E248d,
-        +7.091500562953208E248d,
-        +1.9276698418065647E249d,
-        +5.239949786641934E249d,
-        +1.42436589329759E250d,
-        +3.8718282216768776E250d,
-        +1.0524719896550007E251d,
-        +2.860915548426704E251d,
-        +7.77677492833005E251d,
-        +2.113946677051906E252d,
-        +5.7463023795153145E252d,
-        +1.56200679236425E253d,
-        +4.2459748085663055E253d,
-        +1.1541756557557508E254d,
-        +3.137374584307575E254d,
-        +8.528268445871411E254d,
-        +2.3182239583484444E255d,
-        +6.301585387776819E255d,
-        +1.7129486892266285E256d,
-        +4.6562769567905925E256d,
-        +1.26570724146049E257d,
-        +3.4405490416979487E257d,
-        +9.352382323649647E257d,
-        +2.54224113415832E258d,
-        +6.910528108396216E258d,
-        +1.8784760208391767E259d,
-        +5.106228040084293E259d,
-        +1.3880166914480165E260d,
-        +3.7730204737910044E260d,
-        +1.0256131352582533E261d,
-        +2.787906051540986E261d,
-        +7.578313650939932E261d,
-        +2.0599991793068063E262d,
-        +5.5996586041611455E262d,
-        +1.522145133131402E263d,
-        +4.137618951061827E263d,
-        +1.1247213964487372E264d,
-        +3.0573102223682595E264d,
-        +8.310629417537063E264d,
-        +2.2590636576955473E265d,
-        +6.1407711078356886E265d,
-        +1.6692346202615142E266d,
-        +4.5374504961394207E266d,
-        +1.2334070098307164E267d,
-        +3.3527476928456816E267d,
-        +9.113713162029408E267d,
-        +2.4773638527240193E268d,
-        +6.734172833429278E268d,
-        +1.8305382378470305E269d,
-        +4.9759187284770303E269d,
-        +1.352594940263854E270d,
-        +3.6767339705169146E270d,
-        +9.994400500679653E270d,
-        +2.716759624268743E271d,
-        +7.384918458508588E271d,
-        +2.007428933605617E272d,
-        +5.456757565532369E272d,
-        +1.4833003969415539E273d,
-        +4.0320284712983994E273d,
-        +1.096019026243815E274d,
-        +2.979288529962515E274d,
-        +8.098545495417704E274d,
-        +2.201412886580694E275d,
-        +5.984060832462728E275d,
-        +1.6266362950862408E276d,
-        +4.4216561713555547E276d,
-        +1.2019307065458128E277d,
-        +3.2671863888979078E277d,
-        +8.881133159512924E277d,
-        +2.4141423627760256E278d,
-        +6.562319473965767E278d,
-        +1.7838233889223407E279d,
-        +4.848934634563382E279d,
-        +1.3180771991576186E280d,
-        +3.5829049382293792E280d,
-        +9.739345931419228E280d,
-        +2.6474285478041252E281d,
-        +7.196457718729758E281d,
-        +1.956199868121249E282d,
-        +5.31750271790054E282d,
-        +1.4454470027638629E283d,
-        +3.929132560365955E283d,
-        +1.0680488848057261E284d,
-        +2.9032581477488686E284d,
-        +7.89187408872514E284d,
-        +2.1452336456259667E285d,
-        +5.831349876080173E285d,
-        +1.5851251724785243E286d,
-        +4.308816643345461E286d,
-        +1.1712579802975851E287d,
-        +3.1838092090922606E287d,
-        +8.654490685278886E287d,
-        +2.3525345191912968E288d,
-        +6.39485115791896E288d,
-        +1.7383009254496851E289d,
-        +4.725191397657393E289d,
-        +1.2844402232816276E290d,
-        +3.491470347090126E290d,
-        +9.490800658395667E290d,
-        +2.579867270991543E291d,
-        +7.012806239173502E291d,
-        +1.906278351789277E292d,
-        +5.181801397059486E292d,
-        +1.408559707497606E293d,
-        +3.8288623079292884E293d,
-        +1.0407926842436056E294d,
-        +2.829168201470791E294d,
-        +7.690475570840264E294d,
-        +2.0904882610105383E295d,
-        +5.68253547942899E295d,
-        +1.544673396032028E296d,
-        +4.1988574190754736E296d,
-        +1.1413677466646359E297d,
-        +3.102559332875688E297d,
-        +8.433630296371073E297d,
-        +2.292498520423419E298d,
-        +6.23165710486722E298d,
-        +1.6939399242810123E299d,
-        +4.604606371472047E299d,
-        +1.2516618713553432E300d,
-        +3.402369329874797E300d,
-        +9.248598815279678E300d,
-        +2.51402968559859E301d,
-        +6.833842035076675E301d,
-        +1.8576309291617257E302d,
-        +5.049564425991982E302d,
-        +1.3726137091534984E303d,
-        +3.7311513682845094E303d,
-        +1.0142320772726397E304d,
-        +2.7569686255975333E304d,
-        +7.494218049456063E304d,
-        +2.037139607241041E305d,
-        +5.5375196488302575E305d,
-        +1.5052539519895093E306d,
-        +4.091704288360009E306d,
-        +1.1122405335641184E307d,
-        +3.023383151402969E307d,
-        +8.218407798110846E307d,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-    };
-
-    /** Exponential evaluated at integer values,
-     * exp(x) =  expIntTableA[x + EXP_INT_TABLE_MAX_INDEX] + expIntTableB[x+EXP_INT_TABLE_MAX_INDEX]
-     */
-    private static final double[] EXP_INT_B = new double[] {
-        +0.0d,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        -1.76097684E-316d,
-        -2.44242319E-315d,
-        -9.879317845E-315d,
-        -1.3811462167E-314d,
-        +2.1775261204E-314d,
-        -1.4379095864E-313d,
-        +1.4219324087E-313d,
-        +1.00605438061E-312d,
-        -1.287101187097E-312d,
-        +5.33839690397E-312d,
-        -9.35130825405E-313d,
-        -4.15218681073E-311d,
-        +4.546040329134E-311d,
-        -1.57333572310673E-310d,
-        +1.05387548454467E-309d,
-        +2.095732474644446E-309d,
-        -2.62524392470767E-310d,
-        +5.86440876259637E-309d,
-        -2.401816502004675E-309d,
-        -2.2711230715729753E-308d,
-        +2.0670460065057715E-307d,
-        +3.436860020483706E-308d,
-        +2.0862243734177337E-306d,
-        -4.637025318037353E-306d,
-        +9.222671009756424E-306d,
-        +6.704597874020559E-305d,
-        +4.351284159444109E-305d,
-        +4.232889602759328E-304d,
-        +1.2840977763293412E-303d,
-        -2.6993478083348727E-303d,
-        -1.053265874779237E-303d,
-        +1.207746682843556E-303d,
-        +5.21281096513035E-303d,
-        +1.6515377082609677E-301d,
-        +3.3951607353932444E-301d,
-        +5.609418227003629E-301d,
-        +4.238775357914848E-300d,
-        -9.441842771290538E-300d,
-        -2.1745347282493023E-299d,
-        -6.203839803215248E-299d,
-        -5.617718879466363E-299d,
-        +5.2869976233132615E-298d,
-        -1.4300075619643524E-298d,
-        +4.3198234936686506E-297d,
-        -2.6448316331572387E-297d,
-        +4.315655444002347E-296d,
-        -7.253671992213344E-296d,
-        -1.1288398461391523E-295d,
-        -4.83901764243093E-296d,
-        +1.7407497662694827E-295d,
-        +1.1969717029666017E-294d,
-        -7.752519943329177E-294d,
-        -4.019569741253664E-293d,
-        -2.4467928392518484E-293d,
-        -1.0269233640424235E-292d,
-        -3.2330960700986594E-292d,
-        -1.440995270758115E-291d,
-        -3.726946038150935E-291d,
-        -1.3424576100819801E-291d,
-        -3.128894928199484E-290d,
-        -5.989337506920005E-290d,
-        -9.438168176533759E-290d,
-        -1.9220613500411237E-289d,
-        +2.1186736024949195E-289d,
-        +6.3015208029537436E-288d,
-        -8.168129112703755E-288d,
-        -1.6040513288090055E-287d,
-        -1.0809972724404233E-287d,
-        -3.080380385962424E-286d,
-        +2.6399157174374624E-286d,
-        +1.3317127674213423E-285d,
-        -3.5821668044872306E-285d,
-        +1.978536584535392E-284d,
-        +1.3399392455370071E-284d,
-        -2.870168560029448E-284d,
-        +3.5311184272663063E-283d,
-        -7.204247881190918E-283d,
-        +3.2425604548983798E-282d,
-        +3.913063150326019E-282d,
-        -2.260957518848075E-281d,
-        +3.807242187736102E-281d,
-        -5.095591405025083E-281d,
-        +2.3400625068490396E-280d,
-        -1.1564717694090882E-280d,
-        -3.517594695450786E-279d,
-        +6.666544384808297E-279d,
-        -9.204784113858607E-279d,
-        +4.8677119923665573E-278d,
-        +7.942176091555472E-278d,
-        -2.5113270522478854E-277d,
-        +5.332900939354667E-277d,
-        -3.491241408725929E-276d,
-        -2.1141094074221325E-276d,
-        +1.722049095222509E-275d,
-        +4.0430160253378594E-275d,
-        +1.9888195459082551E-274d,
-        +3.230089643550739E-275d,
-        +5.077824728028163E-274d,
-        -3.526547961682877E-274d,
-        -6.4376298274983765E-273d,
-        -2.5338279333399964E-272d,
-        -3.614847626733713E-272d,
-        +2.510812179067931E-272d,
-        +3.953806005373127E-272d,
-        +7.112596406315374E-272d,
-        -2.850217520533226E-270d,
-        -8.571477929711754E-270d,
-        +1.2902019831221148E-269d,
-        -6.978783784755863E-270d,
-        +9.89845486618531E-269d,
-        -3.538563171970534E-268d,
-        +3.537475449241181E-268d,
-        +3.6924578046381256E-267d,
-        +1.3555502536444713E-266d,
-        -1.1279742372661484E-266d,
-        +5.475072932318336E-266d,
-        -1.1679889049814275E-265d,
-        -8.946297908979776E-266d,
-        +1.0565816011650582E-264d,
-        -3.2161237736296753E-265d,
-        -6.022045553485609E-264d,
-        -2.0332050860436034E-263d,
-        -1.0488538406930105E-262d,
-        +1.6793752843984384E-262d,
-        +3.2558720916543104E-263d,
-        -1.9546569053899882E-262d,
-        +5.082190670014963E-262d,
-        -1.0188117475357564E-260d,
-        +3.7920054509691455E-261d,
-        -8.330969967504819E-260d,
-        -1.1623181434592597E-259d,
-        +9.09665088462258E-259d,
-        -1.56400149127482E-259d,
-        -7.796557225750673E-258d,
-        +6.751460509863465E-258d,
-        +7.243157658226935E-258d,
-        +1.2574668958946027E-256d,
-        +2.2678858131411216E-256d,
-        +5.1079306249351287E-256d,
-        -5.672261759108003E-257d,
-        +3.476539491009769E-256d,
-        -1.3481093992496937E-254d,
-        -3.314051560952014E-254d,
-        +7.408112967339146E-255d,
-        -7.164884605413269E-254d,
-        -6.456588023278983E-253d,
-        -1.4881197370811587E-252d,
-        +1.7534012237555307E-252d,
-        -1.3070101381473173E-251d,
-        +6.081420141954215E-251d,
-        +6.591143677421159E-251d,
-        +2.6917461073773043E-250d,
-        +3.683043641790553E-251d,
-        +1.2195076420741757E-249d,
-        -8.220283439582378E-249d,
-        +1.637852737426943E-248d,
-        -8.332543237340988E-249d,
-        +2.9581193516975647E-248d,
-        -1.7790661150204172E-247d,
-        -1.7809679916043692E-247d,
-        +8.378574405736031E-247d,
-        -2.883847036065813E-246d,
-        +1.3223776943337897E-245d,
-        +3.098547586845664E-245d,
-        -1.1036542789147287E-244d,
-        -5.7187703271582225E-244d,
-        -1.8058492822440396E-244d,
-        +4.4373726292703545E-243d,
-        -3.4631935816990754E-243d,
-        -1.82770041073856E-243d,
-        +3.845535085273936E-242d,
-        +8.446532344375812E-242d,
-        +2.7751016140238277E-242d,
-        +1.3158882241538003E-241d,
-        -3.579433051074272E-240d,
-        -6.151751570213211E-240d,
-        -2.990535475079021E-239d,
-        +2.3396028616528764E-239d,
-        +7.233790684263346E-239d,
-        +1.0847913100494912E-238d,
-        +7.103148400942551E-238d,
-        +3.463600299750966E-237d,
-        -4.873121855093712E-237d,
-        +1.3407295326570417E-236d,
-        +9.390271617387205E-237d,
-        -2.4767709454727603E-235d,
-        +3.205923535388443E-235d,
-        -1.0074984709952582E-234d,
-        +2.4747880175747574E-234d,
-        -5.146939682310558E-234d,
-        -2.827581009333298E-233d,
-        -3.0307641004671077E-233d,
-        +5.92044714050651E-233d,
-        -2.0582596893119236E-232d,
-        -6.58066591313112E-232d,
-        -4.869955151949929E-231d,
-        -5.763495903609913E-231d,
-        -2.3580462372762525E-230d,
-        +1.8559980428862584E-230d,
-        +2.854978560542175E-229d,
-        +5.637945686485334E-229d,
-        +2.1454644909004582E-228d,
-        -1.1918070206953359E-228d,
-        -5.021851606912854E-228d,
-        +3.861525553653117E-227d,
-        +6.533561982617909E-227d,
-        -3.015709444206057E-226d,
-        -5.042005018212734E-227d,
-        +1.5959614205422845E-225d,
-        +2.0402105689098835E-224d,
-        +5.164902728917601E-224d,
-        +9.981031744879876E-224d,
-        +4.0281104210095145E-223d,
-        +1.1158160971176672E-222d,
-        +2.0736172194624895E-222d,
-        +4.983162653734032E-222d,
-        +2.1753390051977871E-221d,
-        +3.969413618002761E-221d,
-        +1.3961255018698695E-220d,
-        +2.1290855095314206E-220d,
-        +1.1927747883417406E-219d,
-        +3.7264401117998796E-219d,
-        +9.318532410862293E-219d,
-        +2.3414841777613345E-218d,
-        +4.3791842770430786E-218d,
-        +1.7173159016511951E-217d,
-        +3.5037536832675478E-217d,
-        +1.4300098613455884E-216d,
-        +2.4189403362149483E-216d,
-        +9.306541421999056E-216d,
-        +3.442100456607687E-215d,
-        +5.94407068841904E-215d,
-        +2.0483260435783403E-214d,
-        +3.8410992889527954E-214d,
-        +1.2038281262953917E-213d,
-        +3.865007795216205E-213d,
-        +9.754659138599756E-213d,
-        +2.7653605770745684E-212d,
-        +5.359568079675375E-212d,
-        +2.61726605666378E-211d,
-        +5.054202073556894E-211d,
-        +8.707092668016246E-211d,
-        +1.4080573899148006E-210d,
-        +1.288124387778789E-209d,
-        +1.8639901642011898E-209d,
-        +6.076014540574561E-209d,
-        +1.798489141298457E-208d,
-        +2.1525406805994896E-208d,
-        +1.1864056832305874E-207d,
-        +2.1077440662171152E-207d,
-        +1.3784853708457332E-206d,
-        +1.6965806532093783E-206d,
-        +7.241626420445137E-206d,
-        +2.575584299085016E-205d,
-        +6.151951078101721E-205d,
-        +2.40652042118887E-204d,
-        +4.022633486003565E-204d,
-        +5.8840879519086286E-204d,
-        +3.2820308007277566E-203d,
-        +4.31880454864738E-203d,
-        +2.427240455243201E-202d,
-        +7.326955749884755E-202d,
-        +1.4310184489676175E-201d,
-        +4.464279133463661E-201d,
-        +4.895131474682867E-201d,
-        +4.48614966943544E-200d,
-        +8.924048768324976E-200d,
-        +2.5035535029701945E-199d,
-        +6.627829836338812E-199d,
-        +2.6066826304502746E-198d,
-        +8.042275310036546E-198d,
-        +2.115062964308555E-197d,
-        +4.413745413236018E-197d,
-        +1.644449394585716E-196d,
-        +3.138217752973845E-196d,
-        +7.48533983136081E-196d,
-        +2.613626422028823E-195d,
-        +3.6741841454219095E-195d,
-        +5.906102862953403E-195d,
-        +4.4940857547850743E-194d,
-        +5.840064709376958E-194d,
-        +3.087661273836024E-193d,
-        +4.995552216100365E-193d,
-        +1.991444798915497E-192d,
-        +7.097454751809522E-192d,
-        +2.0510193986749737E-191d,
-        +5.759440286608551E-191d,
-        +1.7013941257113314E-190d,
-        +2.1383323934483528E-190d,
-        +8.280292810015406E-190d,
-        +3.138655772049104E-189d,
-        +7.961506427685701E-189d,
-        +2.0579001228504997E-188d,
-        +7.530840351477639E-188d,
-        +1.4582863136475673E-187d,
-        +3.149267215638608E-187d,
-        +5.443114553057336E-187d,
-        +3.4672966834277804E-186d,
-        +7.374944406615125E-186d,
-        +2.7318417252599104E-185d,
-        +7.913674211949961E-185d,
-        +2.5217716516462005E-184d,
-        +4.0866585874353075E-184d,
-        +1.2087698972768686E-183d,
-        +3.7072473866919033E-183d,
-        +1.1333588840402273E-182d,
-        +1.61949812578045E-182d,
-        +6.567779607147072E-182d,
-        +2.422974840736314E-181d,
-        +2.551170809294396E-181d,
-        +1.0905890688083124E-180d,
-        +3.221279639653057E-180d,
-        +7.068244813489027E-180d,
-        +1.3752309224575428E-179d,
-        +7.20154303462761E-179d,
-        +1.5391707185581056E-178d,
-        +7.708777608683431E-178d,
-        +5.597398155472547E-178d,
-        +1.8487854656676722E-177d,
-        +1.0577249492414076E-176d,
-        +2.8926683313922764E-176d,
-        +4.090184282164232E-176d,
-        +1.6142943398013813E-175d,
-        +7.873864351702525E-175d,
-        +2.242630017261011E-174d,
-        +3.4637009373878283E-174d,
-        +1.5907089565090164E-173d,
-        +1.6985075903314236E-173d,
-        +1.1552273904608563E-172d,
-        +2.237894048535414E-172d,
-        +5.321990399912051E-172d,
-        +1.4106062639738257E-171d,
-        +2.9850404523368767E-171d,
-        +1.5683802588004895E-170d,
-        +4.880146806045633E-170d,
-        +1.1489352403441815E-169d,
-        +1.6401586605693734E-169d,
-        +8.29169700697816E-169d,
-        +1.0380723705441457E-168d,
-        +7.126414081261746E-168d,
-        +1.253325949455206E-167d,
-        +2.595079206183114E-167d,
-        +1.537490712803659E-166d,
-        +2.6338455225993276E-166d,
-        +7.994936425058567E-166d,
-        +1.5716634677516025E-165d,
-        +3.669404761339415E-165d,
-        +1.9941628263579332E-164d,
-        +4.5012079983352374E-164d,
-        +7.283163019991001E-164d,
-        +2.398038505188316E-163d,
-        +7.868666894503849E-163d,
-        +2.1478649410390003E-162d,
-        +8.306111510463843E-162d,
-        +1.5453160659068463E-161d,
-        -4.590496588813841E-162d,
-        +3.5449293983801232E-161d,
-        -1.0440854056870505E-160d,
-        -2.321064927632431E-160d,
-        +5.707867001443433E-160d,
-        -2.238614484037969E-159d,
-        +2.482282821883242E-159d,
-        -1.1508772192025259E-158d,
-        +1.9903990578876104E-158d,
-        -1.2116165315442256E-158d,
-        -2.9084557554502667E-157d,
-        -1.1211083853006645E-156d,
-        -1.309893394818129E-156d,
-        +4.2269712317468864E-156d,
-        -7.678973146281339E-156d,
-        +3.2021376921211934E-155d,
-        -7.08313012515209E-155d,
-        +1.944398214330544E-154d,
-        +1.1860061363751161E-153d,
-        +1.5234465914578058E-153d,
-        -2.9020908354550263E-153d,
-        +4.980100072851796E-153d,
-        +2.3101551448625578E-152d,
-        -1.1959241322537072E-151d,
-        -9.27398924154364E-153d,
-        +5.999390491704392E-152d,
-        +1.3373196561281372E-150d,
-        -1.0271780540759147E-150d,
-        +2.575620466387945E-150d,
-        -6.56250013356227E-149d,
-        -1.1961357917482867E-148d,
-        +5.5807813570926636E-148d,
-        +9.252840189663807E-148d,
-        -1.830335419852293E-147d,
-        +9.350990339947455E-147d,
-        -1.6072409939877762E-146d,
-        -2.5309995887229526E-146d,
-        -1.6014373376410622E-146d,
-        -3.303297758377758E-145d,
-        +1.5640419864850202E-145d,
-        +9.544642884951585E-145d,
-        -8.64864445321803E-144d,
-        +7.580392204597681E-144d,
-        +2.678334184447568E-143d,
-        -3.7269289985326055E-143d,
-        -2.851965258161176E-142d,
-        +7.243267286265823E-142d,
-        +4.4510805312036926E-141d,
-        +9.008499734799015E-141d,
-        +1.130435759928337E-140d,
-        -3.096539751496479E-140d,
-        -1.497405487919762E-139d,
-        +3.51519845948652E-139d,
-        -4.713790209541894E-139d,
-        +4.740753295616865E-138d,
-        +9.517570994930463E-138d,
-        -1.8842098029339485E-137d,
-        -3.825558165008403E-137d,
-        +1.1817638600528107E-136d,
-        -3.514601201473235E-136d,
-        -6.344612631552417E-136d,
-        -1.6754164785291923E-136d,
-        +4.445372986583078E-135d,
-        -3.89604237755475E-134d,
-        -1.0155552195374609E-134d,
-        +2.1858142063550155E-134d,
-        +3.497714990137842E-133d,
-        -7.635830383612894E-133d,
-        +1.2050744860079718E-132d,
-        -7.683019590615251E-133d,
-        -3.344806129021162E-131d,
-        -1.6737914131474577E-131d,
-        -4.30610076666344E-131d,
-        +5.184023388254773E-130d,
-        +2.6290763595212492E-129d,
-        +7.90041744728452E-130d,
-        -3.204473056113754E-129d,
-        -2.552517201762272E-128d,
-        +7.130134251490065E-128d,
-        -3.2244113258340395E-127d,
-        -1.064920993515727E-127d,
-        +2.7466520735457463E-126d,
-        +4.368312797746065E-126d,
-        +1.8802599072446818E-125d,
-        -4.257625799463564E-125d,
-        +5.491672256552995E-125d,
-        +3.7298611779671127E-124d,
-        +5.724180836308973E-124d,
-        +1.3861841053630075E-123d,
-        +4.2303826056297614E-123d,
-        +3.5335436928899096E-123d,
-        -2.522906629540626E-122d,
-        +1.0147808005267102E-121d,
-        +6.734406065735473E-122d,
-        -4.948973160958133E-121d,
-        +2.4256181927024344E-120d,
-        +4.9056283164780554E-120d,
-        +6.846440394397547E-120d,
-        +3.512747689569002E-119d,
-        -9.020907406701404E-119d,
-        +2.5718749916003624E-118d,
-        +4.3724191002977524E-119d,
-        +1.001455050575191E-117d,
-        -2.4442443105031435E-117d,
-        +2.38873950760028E-116d,
-        -4.831068747037129E-118d,
-        -5.148989321866988E-116d,
-        +1.7875271881514469E-115d,
-        -1.1821586412088555E-114d,
-        +4.43247726423679E-115d,
-        +4.634817120492781E-114d,
-        +1.671311907037975E-113d,
-        -4.595250028278979E-113d,
-        -5.905511605694905E-113d,
-        -1.3657642265608213E-112d,
-        +2.881416869529271E-112d,
-        +2.1253302469985373E-111d,
-        -5.301386276260592E-111d,
-        +1.4198782892306878E-112d,
-        -3.395494928605007E-110d,
-        +9.284633292147283E-110d,
-        -6.054133004896379E-110d,
-        -8.324100783330331E-109d,
-        -2.193190669794277E-108d,
-        +1.3613655394659198E-107d,
-        +6.463452607647978E-108d,
-        +1.0187183636134904E-106d,
-        +1.0705673935006142E-106d,
-        +2.509050608571019E-106d,
-        -1.5096182622106617E-105d,
-        +1.7794190449526737E-106d,
-        +1.2261246749706581E-104d,
-        +2.1377905661197194E-104d,
-        -2.2015877944429946E-104d,
-        +7.873970951802825E-104d,
-        -1.7999197335480384E-103d,
-        +1.0487383011058756E-105d,
-        -2.9988278531841556E-102d,
-        +4.7976477743232285E-102d,
-        +3.452316818502442E-102d,
-        +5.89953246760617E-101d,
-        -4.0785601577267006E-101d,
-        +2.7214076662438963E-100d,
-        +5.237807655758373E-100d,
-        +6.180972117932364E-99d,
-        -1.3019742873005683E-98d,
-        +4.501188264957416E-99d,
-        -2.4075054705261798E-98d,
-        +1.6503086546628772E-97d,
-        -6.878666975101243E-97d,
-        +1.196718116616528E-96d,
-        +2.476190162339265E-96d,
-        -7.1844969234484515E-96d,
-        +5.088386759261555E-95d,
-        +6.749368983223726E-95d,
-        +1.965737856765605E-94d,
-        -5.574080023496771E-94d,
-        +1.2493696959436675E-93d,
-        +8.533262777516794E-94d,
-        -7.225259028588793E-93d,
-        -7.340587186324432E-93d,
-        -3.482412195764625E-92d,
-        +3.4742610108480497E-91d,
-        -7.177274244758699E-91d,
-        +1.2736636153072213E-90d,
-        -5.730160886217076E-90d,
-        -1.545495535488274E-89d,
-        +1.1304179460367007E-89d,
-        +1.249260560756154E-88d,
-        -4.7439719382414206E-88d,
-        +7.164663249266942E-88d,
-        +1.7617425105337704E-87d,
-        +2.4175248449172035E-87d,
-        -1.043079666926483E-86d,
-        -2.8137609614326677E-86d,
-        -1.2091497144395591E-85d,
-        +3.7944631664558904E-85d,
-        -2.8144926807308225E-85d,
-        +3.9782728352520784E-85d,
-        +4.313978872469646E-84d,
-        +5.82190887044604E-84d,
-        +5.883385169571802E-83d,
-        +1.134857098306787E-82d,
-        +3.468049324128309E-82d,
-        +2.625423995658143E-82d,
-        -3.42827917465521E-81d,
-        +5.119461911618321E-81d,
-        -2.134387988350615E-80d,
-        -4.4703076268400615E-80d,
-        +4.806078883451016E-80d,
-        +2.3820250362443495E-79d,
-        -7.258551497833573E-79d,
-        -4.0297835558876335E-78d,
-        +2.1424166787650852E-78d,
-        -3.2117127164185917E-77d,
-        +4.8459153070935316E-77d,
-        -1.766924303914492E-76d,
-        -2.6921749814579492E-76d,
-        -4.1291070428848755E-76d,
-        +2.2086994756104319E-75d,
-        -7.814146377574201E-75d,
-        -1.9589778310104216E-74d,
-        +6.52658129486538E-74d,
-        +1.7804909509998055E-74d,
-        -4.1900132227036916E-73d,
-        +1.5705861683841123E-72d,
-        -1.904714978998808E-72d,
-        -7.81295459930537E-72d,
-        +2.818537910881676E-71d,
-        +5.840507984320445E-71d,
-        +1.7331720051707087E-70d,
-        +1.936946987935961E-70d,
-        -5.86517231340979E-71d,
-        -1.3277440528416646E-69d,
-        +1.9906256185827793E-69d,
-        +8.668714514280051E-69d,
-        +6.643105496829061E-69d,
-        -2.5436254170647032E-67d,
-        -4.8279217213630774E-67d,
-        -1.2640304072937576E-66d,
-        +3.51187258511716E-66d,
-        +1.4199501303738373E-65d,
-        -1.2351697477129173E-65d,
-        +7.0542365522414836E-65d,
-        +1.030593104122615E-64d,
-        -5.452692909894593E-65d,
-        -9.415506349675128E-64d,
-        -3.6206211446779087E-63d,
-        -1.6699188275658641E-62d,
-        +2.287280262665656E-62d,
-        +7.076135457313529E-62d,
-        +2.9019628518165404E-61d,
-        -3.1305705497720186E-61d,
-        +2.2978757040142953E-60d,
-        +1.2424439441817321E-60d,
-        +7.140343013236265E-60d,
-        +8.633726388939636E-60d,
-        +1.3483035574114863E-58d,
-        +1.653701058949654E-58d,
-        -8.939932297357388E-58d,
-        -1.395320103272191E-57d,
-        +6.440430933947252E-58d,
-        -1.681200826841738E-56d,
-        +3.9904382022898837E-56d,
-        -4.870518577546228E-56d,
-        -1.6990896855901115E-55d,
-        -6.751434891261518E-56d,
-        -1.669012123121194E-54d,
-        -4.079585475491198E-54d,
-        -1.3070436427679952E-53d,
-        -3.090028378908628E-53d,
-        +7.468160889798606E-53d,
-        +6.229095980733463E-53d,
-        +1.4794751934479566E-52d,
-        +1.7444373785853918E-51d,
-        -5.3681978363391484E-52d,
-        +2.71853394036182E-51d,
-        -1.3334367969274016E-50d,
-        -1.6958057665854177E-49d,
-        -1.452507231312146E-49d,
-        +3.3855429446520427E-49d,
-        +4.903687986212687E-49d,
-        +2.2185957416622524E-48d,
-        -9.924196700842429E-48d,
-        +4.285128462851149E-47d,
-        +3.076063086193525E-48d,
-        +4.102052341676543E-46d,
-        +1.1745772638457318E-45d,
-        -5.309047216809048E-47d,
-        +2.72972449891179E-45d,
-        -1.1748423022293739E-44d,
-        +6.626052626622228E-44d,
-        +3.0227439688367925E-44d,
-        -4.740494808228372E-43d,
-        +5.926057457356852E-43d,
-        +3.09768273342776E-42d,
-        -5.589493227475577E-42d,
-        -8.84908716783327E-42d,
-        +2.3684740712822874E-41d,
-        +1.4836491430755657E-40d,
-        +4.5878801324451396E-40d,
-        +1.0585156316103144E-39d,
-        +2.3805896467049493E-39d,
-        +1.0285082556185196E-38d,
-        +2.5187968110874885E-38d,
-        -1.4088399542613178E-38d,
-        -3.00901028043488E-38d,
-        +2.0089026801414973E-37d,
-        -1.3324111396289096E-36d,
-        +5.458481186294964E-36d,
-        -4.8402541351522003E-36d,
-        -1.3331969720555312E-35d,
-        -8.248332290732976E-35d,
-        -1.8349670703969982E-34d,
-        +6.403477383195494E-34d,
-        +3.7813691654412385E-34d,
-        +2.4621305031382827E-33d,
-        -5.634051826192439E-33d,
-        +3.817173955083142E-32d,
-        -6.038239639506472E-32d,
-        -2.130447095555397E-31d,
-        -6.824454861992054E-31d,
-        -1.3455801602048414E-30d,
-        -2.518642767561659E-30d,
-        +8.082792416221215E-30d,
-        +4.718103502869148E-29d,
-        -5.607991635038776E-29d,
-        -1.8042191582018579E-28d,
-        +6.989914264479507E-28d,
-        -2.9031739430339586E-28d,
-        +6.076820259849921E-27d,
-        -3.24981577480893E-27d,
-        -2.7648210023059463E-26d,
-        -9.785306155980342E-26d,
-        +1.241529292737115E-25d,
-        +3.0891604448087654E-25d,
-        +2.3451052074796954E-24d,
-        +6.574128018028633E-24d,
-        -1.3345148716925826E-23d,
-        +4.3594621428644293E-23d,
-        -5.678896695157704E-23d,
-        -4.676849004137386E-23d,
-        -2.281578975407609E-22d,
-        -3.144430608076357E-21d,
-        +5.662033727488754E-22d,
-        -4.30293375386492E-21d,
-        +4.985137671479376E-20d,
-        +1.657668502165438E-19d,
-        -3.3878706977811337E-19d,
-        -7.488022803661722E-19d,
-        +1.725039737424264E-18d,
-        -6.0275040161173166E-18d,
-        -8.081007442213538E-19d,
-        +2.9257892371894816E-17d,
-        +1.5231541295722552E-16d,
-        -1.1474026049124666E-17d,
-        +6.890372706231206E-16d,
-        +2.592721454922832E-15d,
-        -1.1253822296423454E-15d,
-        -2.650684279637763E-14d,
-        -4.107226967119929E-15d,
-        -3.130508064738312E-14d,
-        -6.729414275200856E-14d,
-        -1.6166170913368169E-12d,
-        -1.2059301405584488E-12d,
-        -1.2210091619211167E-11d,
-        +3.695372823623631E-12d,
-        +5.119220484478292E-11d,
-        -1.0857572226543142E-10d,
-        -4.6490379071586397E-10d,
-        -4.5810381714280557E-10d,
-        +1.4909756678328582E-9d,
-        -1.3155828104004438E-8d,
-        -9.149755188170102E-9d,
-        +0.0d,
-        +8.254840070411029E-8d,
-        -1.0681886149151956E-7d,
-        -3.359944163407147E-8d,
-        -2.1275002921718894E-6d,
-        +1.2129920353421116E-5d,
-        +2.1520078872608393E-5d,
-        +1.0178783359926372E-4d,
-        -2.077077172525637E-5d,
-        -5.67996159922899E-5d,
-        +9.510567165169581E-4d,
-        +0.0010901978184553272d,
-        +0.010169003920808009d,
-        +0.017008920503326107d,
-        +0.03416477677774927d,
-        -0.1275278893606981d,
-        +0.5205078726367633d,
-        +0.7535752982147762d,
-        +1.1373305111387886d,
-        -3.036812739155085d,
-        +11.409790277969124d,
-        -9.516785302789955d,
-        -49.86840843831867d,
-        -393.7510973999651d,
-        -686.1565277058598d,
-        +4617.385872524165d,
-        -11563.161235730215d,
-        -8230.201383316231d,
-        -34460.52482632287d,
-        +50744.04207438878d,
-        +357908.46214699093d,
-        +1936607.425231087d,
-        +3222936.695160983d,
-        +5477052.0646243105d,
-        -3.517545711859706E7d,
-        -1.2693418527187027E8d,
-        -2.5316384477288628E8d,
-        -1.6436423669122624E8d,
-        +4.0889180422033095E8d,
-        +4.968829330953611E9d,
-        -3.503399598592085E9d,
-        +1.905394922122271E10d,
-        +1.0361722296739479E11d,
-        -5.806792575852521E10d,
-        +2.3454138776381036E11d,
-        -1.718446464587963E12d,
-        -1.0946634815588584E12d,
-        +1.6889383928999305E13d,
-        -3.784600043778247E13d,
-        +7.270965670658928E13d,
-        -4.9202842786896806E14d,
-        +4.597700093952774E14d,
-        +2.6113557852262235E15d,
-        -4.544525556171388E15d,
-        -9.517971970450354E15d,
-        -2.0634857819227416E16d,
-        -9.7143113104549808E16d,
-        -2.2667083759873216E16d,
-        -7.2285665164439578E17d,
-        +4.1215410760803866E18d,
-        +8.5807488300972206E18d,
-        +1.530436781375042E19d,
-        -1.5453111533064765E19d,
-        -1.0633845571643594E20d,
-        -3.512380426745336E20d,
-        +3.7734658676841284E20d,
-        -3.855478664503271E21d,
-        +7.984485303520287E21d,
-        -1.2296934902142301E22d,
-        +1.042139023692827E22d,
-        +1.2167897656061312E23d,
-        +9.22064170155394E22d,
-        +3.965171513035854E23d,
-        -4.135121057126514E24d,
-        -7.944341754299148E24d,
-        +1.4715152230577016E25d,
-        -3.0635272288480756E25d,
-        -9.54468158713835E25d,
-        +1.5411775738825048E25d,
-        -8.274711842374368E26d,
-        -1.0028324930788433E27d,
-        +5.189062091114782E27d,
-        -2.8583500869462184E28d,
-        -5.198295198128238E28d,
-        +2.9758750368256437E29d,
-        +3.216046320616945E29d,
-        -1.7846700158234043E30d,
-        +3.847174961282827E30d,
-        +9.026991921214922E30d,
-        +4.1358029739592175E30d,
-        -6.461509354879894E29d,
-        +9.704297297526684E31d,
-        +2.9731739067444943E32d,
-        +9.97728609663656E32d,
-        +3.1149346370027763E33d,
-        +2.0051635097366476E34d,
-        +2.819272221032373E34d,
-        +1.6266731695798413E34d,
-        +1.998050894021586E35d,
-        -6.1633417615076335E35d,
-        +2.2505716077585116E36d,
-        +1.9299691540987203E36d,
-        +8.006569251375383E36d,
-        -3.785295042408568E37d,
-        -1.1870498357197593E38d,
-        +1.0010529668998112E38d,
-        +1.3240710866573994E38d,
-        +2.6888010385137123E39d,
-        +1.7400655988987023E39d,
-        -6.402740469853475E39d,
-        -3.93114092562274E40d,
-        +1.2363717201084252E41d,
-        -1.9219116633978794E41d,
-        -1.347867098583136E42d,
-        +7.87675118338788E41d,
-        +3.3932984011177642E41d,
-        -1.9872713979884691E43d,
-        +2.220208491349658E43d,
-        -3.466267817480825E43d,
-        +3.19462030745197E44d,
-        -9.841244788104406E44d,
-        -2.2676593395522725E45d,
-        -1.1349246400274207E46d,
-        -1.1700910284427406E46d,
-        -3.6754317105801715E46d,
-        +1.7647101734915075E47d,
-        +2.122358392979746E47d,
-        +3.156243682143956E47d,
-        +5.356668151937413E47d,
-        +2.7668218233914262E48d,
-        +3.5127708120698784E48d,
-        +1.7884841356632925E49d,
-        +1.716531820904728E50d,
-        -2.9114757102866277E50d,
-        +1.0657703081219677E51d,
-        -7.512169809356372E50d,
-        +1.764200470879736E51d,
-        -1.0088898215431471E52d,
-        -3.1085734725176E52d,
-        +4.3529009584292495E52d,
-        -2.467842129213774E53d,
-        -3.9317379627195146E53d,
-        -4.332335454045836E52d,
-        +7.979013724931926E54d,
-        -1.5038413653121357E55d,
-        +9.310799925566843E55d,
-        -2.2042966348036592E55d,
-        -4.518315366841937E55d,
-        -6.971366338144781E56d,
-        -2.0461505570781806E57d,
-        -8.823884392655312E57d,
-        -1.1264032993918548E58d,
-        -7.692065092509875E58d,
-        -1.8472516879728875E59d,
-        +8.72220314694275E58d,
-        +1.6525336989036362E59d,
-        -3.343201925128334E60d,
-        +5.493352163155986E60d,
-        -2.548073509300398E61d,
-        -9.566541624209933E61d,
-        +4.0891054447206644E61d,
-        -7.724182294653349E62d,
-        +1.0143022354947225E63d,
-        -4.952031310451961E63d,
-        -7.877410133454722E63d,
-        +4.505432606253564E64d,
-        -7.330635250808021E64d,
-        -1.642361029990822E65d,
-        +5.982180242124184E65d,
-        +7.120242132370469E65d,
-        +5.908356249789671E66d,
-        -2.8477710945673134E65d,
-        +6.65688196961235E66d,
-        -9.233295580238604E67d,
-        +3.2850043261803593E68d,
-        +7.041681569694413E68d,
-        -1.5652761725518397E69d,
-        +1.5377053215489084E68d,
-        +1.282130763903269E70d,
-        -2.380286345847567E70d,
-        -7.207022875977515E70d,
-        +2.7641662602473095E71d,
-        +7.685235201534525E71d,
-        +4.3239378585884645E70d,
-        -1.6840562544109314E72d,
-        -5.04128025464686E71d,
-        +5.4557485189210095E73d,
-        +7.160277784358221E73d,
-        +7.636179075087608E73d,
-        -8.18804507680012E74d,
-        +2.807397988979441E75d,
-        +2.165163304600171E75d,
-        -1.3208450062862734E76d,
-        -5.1939252391404724E76d,
-        -6.985952908805853E76d,
-        -1.6259920998287064E77d,
-        +6.098975200926637E77d,
-        -5.63383579957466E77d,
-        -1.5876819186852907E78d,
-        +2.1487475413123092E79d,
-        -3.987619123706934E79d,
-        +9.772655251656639E79d,
-        -1.638756156057952E79d,
-        -7.83892088580041E80d,
-        +1.274413296252691E81d,
-        +2.51946651720982E81d,
-        -2.516866097506943E81d,
-        +1.053956282234684E82d,
-        +1.8279051206232177E83d,
-        +1.2250764591564252E82d,
-        -4.0353723442917463E83d,
-        -1.4121324224340735E84d,
-        -5.45287716696021E84d,
-        -1.7514953095665195E85d,
-        -5.0706081370522526E85d,
-        -4.35799392139009E85d,
-        -3.982538093450217E86d,
-        -1.4591838284752642E87d,
-        +2.5313735821872488E87d,
-        -3.718501227185903E86d,
-        -1.3907979640327008E88d,
-        -5.79002114093961E86d,
-        -1.2500675565781447E89d,
-        +4.8182788286170926E89d,
-        -1.7198866036687559E90d,
-        -4.690417668647599E88d,
-        +1.3020631859056421E91d,
-        -1.3850458263351744E91d,
-        +4.87301010703588E91d,
-        -1.695546877943826E92d,
-        -1.6353756659909833E92d,
-        -1.5483926773679628E93d,
-        -1.8921091400297595E93d,
-        -6.183525570536406E93d,
-        -4.987913342551977E93d,
-        +1.0186485886120274E93d,
-        -1.5343120819745468E95d,
-        -5.262123923229857E95d,
-        +1.618327917706804E96d,
-        -4.135185828158998E96d,
-        -8.016793741945299E96d,
-        -3.0399439534134115E97d,
-        -1.2319346292749103E98d,
-        +7.536337311795176E97d,
-        -3.577715974851322E98d,
-        +2.0521614818695524E99d,
-        +1.2627736197958951E98d,
-        -5.206910481915062E99d,
-        +3.0974593993948837E100d,
-        -9.522726334561169E100d,
-        -1.1909272509710985E100d,
-        -5.056512677995137E101d,
-        +2.0902045062932175E102d,
-        +6.243669516810509E102d,
-        -1.7375090618655787E103d,
-        -2.5445477450140954E103d,
-        +3.619891246849381E103d,
-        +8.90737333900943E103d,
-        -2.7897360297480367E104d,
-        +1.3725786770437066E105d,
-        -8.316530604593264E105d,
-        -6.054541568735673E105d,
-        +7.523374196797555E105d,
-        +1.1475955030427985E107d,
-        +1.5260756679495707E107d,
-        +7.370294848920685E107d,
-        +1.3608995799112174E108d,
-        +1.0700758858011432E108d,
-        -4.989318918773146E108d,
-        -1.6629755787634093E108d,
-        +7.635999584053557E109d,
-        +1.892621828736983E109d,
-        -6.793094743406533E110d,
-        -8.160628910742724E110d,
-        -7.724219106106896E111d,
-        -1.6059226011778748E112d,
-        -1.5277127454062126E112d,
-        +3.911086668967361E112d,
-        +3.529920406834134E113d,
-        -4.3991443996021166E113d,
-        -1.2631909085915044E114d,
-        +3.8656278695544835E114d,
-        +1.71845288713123E115d,
-        +3.7660598745907915E115d,
-        -4.048086182363988E115d,
-        +2.3093822298965837E116d,
-        -9.684925795536813E116d,
-        -3.137992585221854E117d,
-        -5.637415935329794E117d,
-        -1.5536658521931418E118d,
-        -6.336314643222911E118d,
-        +8.550658957115427E118d,
-        -5.591880480212007E119d,
-        +2.4137404318673354E119d,
-        -2.631656656397244E120d,
-        -7.653117429165879E119d,
-        -4.073965591445897E121d,
-        +3.634781057940233E121d,
-        +4.537273754534966E121d,
-        -2.5138919966097735E122d,
-        -1.0292817180691822E123d,
-        -1.4265564976097062E122d,
-        +6.000235114895513E123d,
-        +4.186590347846346E124d,
-        -1.8950538406321535E124d,
-        +7.716762345695022E124d,
-        -4.443798187035849E125d,
-        -2.268994961992292E125d,
-        -2.8169291774231604E126d,
-        -2.749127978087685E126d,
-        -2.2929764629585683E126d,
-        -7.369842361872221E127d,
-        +2.81312841469177E128d,
-        +2.7856896414497757E128d,
-        -3.096733638475319E128d,
-        -5.4199510725063615E129d,
-        -7.315860999413894E129d,
-        +3.6424644535156437E130d,
-        -7.886250961456327E130d,
-        +5.289988151341401E130d,
-        +2.7758613753516344E131d,
-        -2.738246981762776E132d,
-        -2.2667181460478093E132d,
-        -3.614672661225457E131d,
-        +2.325337720526947E133d,
-        +4.16603235883392E133d,
-        -6.50348962894948E133d,
-        +3.851445905038431E134d,
-        -5.46060534001412E134d,
-        +5.4679180659102885E135d,
-        -3.037477806841494E135d,
-        -3.0417051809209134E136d,
-        -6.995964550587914E136d,
-        -3.6897084415718804E137d,
-        -6.938000231893302E137d,
-        +2.403806217004454E138d,
-        -3.4552363953199905E138d,
-        +7.3409917428393E138d,
-        -1.7445917446236717E139d,
-        -6.680679913078676E139d,
-        -8.193572619487537E139d,
-        +5.337290292186291E139d,
-        -3.951314467739045E140d,
-        -4.4662073456574476E141d,
-        +6.249381778908997E141d,
-        -2.928362616578011E142d,
-        -1.6661676835672304E143d,
-        -1.974465323891493E143d,
-        +1.3083870531380308E144d,
-        -2.382825271750576E144d,
-        -5.4826958838142734E144d,
-        +1.5340733916570804E145d,
-        -3.1327120557842516E145d,
-        +1.5790297768522832E146d,
-        +1.1518771984292262E146d,
-        -4.789917000227385E145d,
-        -8.689594184775204E146d,
-        +3.0680417869552433E146d,
-        +4.877860620031438E147d,
-        -3.4650891244084597E148d,
-        +1.8702183451052442E149d,
-        -3.5727227900139915E148d,
-        -1.3457821696677932E150d,
-        +3.3212950284273017E149d,
-        +7.316033240396569E150d,
-        -7.187723217018267E150d,
-        -8.537194547485455E150d,
-        -1.4561530066010593E152d,
-        -7.548155147049997E151d,
-        +1.0047353208353007E153d,
-        -1.2489460589853119E153d,
-        +4.426120229279107E153d,
-        -2.5466223330961086E154d,
-        +8.831699889789037E154d,
-        -2.0258084311749475E155d,
-        -5.525009099476396E155d,
-        -1.0235056525096769E156d,
-        -4.117971654572494E154d,
-        -4.7559175309753334E156d,
-        -1.4656240137098836E157d,
-        -7.675790582869644E157d,
-        -1.0126616322947826E158d,
-        +7.084865265284368E158d,
-        -9.374695893307895E158d,
-        +2.05597910889115E159d,
-        -7.368602086210704E159d,
-        -1.6167825196198978E160d,
-        +2.3832096207000712E160d,
-        +1.3166970112139726E161d,
-        -6.432337568761393E161d,
-        +2.9279594746502846E161d,
-        +4.8926595743317624E162d,
-        +1.2704793774453618E163d,
-        -1.1345910784680524E163d,
-        +7.75933511025868E163d,
-        -1.1441115218462356E163d,
-        +5.162248481759758E164d,
-        +6.362563919556132E164d,
-        -2.8362173224732088E165d,
-        -4.342161053332263E165d,
-        +4.388125271425036E166d,
-        -7.049068240916723E166d,
-        +3.8520227881415595E166d,
-        +2.9274120974020826E167d,
-        -7.500936767542933E167d,
-        -6.540181860667302E168d,
-        +4.664436780622191E168d,
-        -1.436111169285268E169d,
-        -1.0407581736224179E170d,
-        -2.7670181051374297E170d,
-        -6.788169932297778E170d,
-        +1.6997387217850427E171d,
-        -1.0965324942770584E171d,
-        +9.841563119484623E171d,
-        +3.175748919314254E172d,
-        +2.9621181706527444E172d,
-        -3.30101656090905E173d,
-        -3.791840683760427E173d,
-        -2.841347842666459E174d,
-        -7.836327226971707E174d,
-        +9.650358667643114E174d,
-        +5.9994277301267294E175d,
-        -6.0490084078440215E175d,
-        -2.8964095485948707E176d,
-        +9.916187343252014E175d,
-        +2.7535627955313556E176d,
-        +3.886891475472745E177d,
-        +3.1962472803616787E178d,
-        -5.50599549115449E178d,
-        +5.672812341879918E178d,
-        -3.295268490032475E179d,
-        +9.761163062156018E179d,
-        +3.107837179570674E180d,
-        +3.3894811576571423E179d,
-        -5.235397688850367E180d,
-        -5.004237248003625E181d,
-        -1.7544995191195304E182d,
-        +2.645622651144787E182d,
-        -3.459885432869825E182d,
-        -4.0361435606199565E183d,
-        -1.8382923511801317E183d,
-        -1.7332235571505177E184d,
-        +2.847653455671381E184d,
-        +1.7991060813894693E185d,
-        -2.0937429891059164E185d,
-        +5.744446753652847E185d,
-        -2.1349396267483754E184d,
-        -1.2542332720182776E186d,
-        +3.3730714236579374E186d,
-        -5.923734606208998E187d,
-        +2.24669039465627E188d,
-        -1.2588742703536392E188d,
-        +1.474522484905093E189d,
-        -2.4006971787803736E189d,
-        -3.52597540499141E189d,
-        +2.6676722922838097E190d,
-        +5.27579825970359E190d,
-        +2.1360492104281465E191d,
-        +1.9442210982008953E191d,
-        -1.4691239161932232E190d,
-        +3.8218180377739526E192d,
-        +1.9722862688653467E192d,
-        +3.047601928063002E193d,
-        +1.6747356805175311E193d,
-        +7.710512446969693E192d,
-        +1.7780021277684035E194d,
-        -1.4015110811648513E195d,
-        +4.0447634595724164E195d,
-        +9.023639664212642E195d,
-        +1.976868146639626E196d,
-        -9.084495133765657E196d,
-        -1.2023077889892748E196d,
-        +5.7455368446308694E197d,
-        -1.7766273910482863E198d,
-        +3.5590470673352285E198d,
-        +1.1304970373249033E199d,
-        +1.6496143246803731E199d,
-        -2.394588390685223E199d,
-        -1.4677321100833294E199d,
-        -1.1843870433971731E201d,
-        -1.8853982316037226E201d,
-        +2.8829871423339434E201d,
-        +5.369687677705385E200d,
-        +1.8356062677502141E202d,
-        -1.5544655377217875E203d,
-        +2.955364187248884E203d,
-        -2.7651059253677425E203d,
-        +9.903174064539538E203d,
-        -3.284204788892967E204d,
-        -1.5843229740595697E205d,
-        +5.333371443528904E204d,
-        +1.2781631468016048E205d,
-        +3.2188292385399854E205d,
-        -6.619064395428225E206d,
-        +1.291561142865928E207d,
-        +1.3142988156905172E207d,
-        -1.3841980097978606E208d,
-        +6.380177790989479E207d,
-        +1.0386032577072378E209d,
-        +2.7681631086098026E209d,
-        -9.053874899534375E209d,
-        +1.2424707839848734E210d,
-        +1.045546633850141E211d,
-        -1.2448938139338362E211d,
-        +7.221902646057552E211d,
-        +6.651345415954053E211d,
-        -5.8180712702152444E212d,
-        +5.275183961165903E212d,
-        +5.092753117288608E212d,
-        -2.437796532151255E213d,
-        +1.3480763914637323E214d,
-        +5.619995933180841E214d,
-        +2.547000388735681E214d,
-        +4.817319356453926E214d,
-        -7.897146442236022E215d,
-        -7.93844120619577E215d,
-        -4.9489938500591624E216d,
-        -2.862720607805682E216d,
-        -2.9275804461593914E217d,
-        -3.411186219855533E217d,
-        -2.0110092718356274E218d,
-        -8.472642266772353E218d,
-        -4.357990742470246E217d,
-        +4.793444363780116E219d,
-        +1.6544084224626834E220d,
-        -6.017988576347111E220d,
-        -3.580397221598409E220d,
-        -4.7208848667217906E221d,
-        -7.724899660259369E221d,
-        -2.4459728627968634E222d,
-        +3.667348665023154E221d,
-        +4.544122762558404E223d,
-        -4.0573420909530794E223d,
-        -3.2552002992257195E223d,
-        -6.488296536838142E224d,
-        +1.7544839352461719E224d,
-        -4.0873400635183405E225d,
-        -8.833499967268279E225d,
-        -1.0953484767704112E226d,
-        -8.56825295972308E226d,
-        -1.8097633115378247E227d,
-        -6.171564449018882E227d,
-        -4.351843341274115E227d,
-        +2.8032429752543687E228d,
-        -1.0065901934522996E229d,
-        +9.863720960170636E228d,
-        -9.481088691357648E229d,
-        -1.6843492713373762E229d,
-        -1.3282890219894906E230d,
-        +6.883577595238845E230d,
-        -1.153577281189635E231d,
-        -8.009548754642203E231d,
-        -4.722612904888278E232d,
-        -4.768909872963015E232d,
-        +3.2542391242036633E233d,
-        +6.513425781583774E233d,
-        -1.8889614379831606E233d,
-        -2.227647301474917E234d,
-        -4.7971208532986115E234d,
-        +6.693500938105557E234d,
-        -6.587776621471115E234d,
-        +3.0099905634916516E236d,
-        -4.6694407626686244E235d,
-        +2.965546585110978E236d,
-        +5.771457643937893E237d,
-        -9.029878114318277E237d,
-        +8.169926810324408E237d,
-        -1.779945804977441E239d,
-        +4.1218749988429474E239d,
-        +7.201319954099161E239d,
-        -1.530845432304069E240d,
-        -3.861762510530086E240d,
-        -2.4090696463777446E241d,
-        -1.8196842273916379E241d,
-        -1.7959243076374794E242d,
-        -3.7257346819782323E242d,
-        +3.413310324247329E242d,
-        -2.0406580894051073E243d,
-        -1.5335923091350053E243d,
-        -1.056727406551016E244d,
-        -4.6753408714233723E244d,
-        -2.0697130057384643E245d,
-        -1.0356006160554071E245d,
-        +1.1339195187304043E246d,
-        +1.792783182582235E246d,
-        +9.599214853681978E245d,
-        +1.5367645598839362E247d,
-        +2.934570385464815E247d,
-        -1.6411525886171892E248d,
-        +2.2638862982382794E248d,
-        -1.2268014119628852E249d,
-        +4.737693450915584E247d,
-        +6.3818993714899675E249d,
-        +1.2639113706171572E250d,
-        -4.011320021817099E249d,
-        -5.2744376732859406E250d,
-        -3.732266217624991E251d,
-        +1.7591819833844019E252d,
-        -3.292458622014749E252d,
-        -9.161340309319204E252d,
-        -1.728610646009749E253d,
-        +1.1698424008604891E254d,
-        -1.8494343291160577E254d,
-        +2.0568656302182574E254d,
-        +1.0537591246531136E255d,
-        +1.803052068234866E254d,
-        -1.053036399720808E256d,
-        +2.1836166619192508E256d,
-        +1.0368403169781264E257d,
-        -2.0648015610276362E257d,
-        +8.426174035728768E257d,
-        -1.3577357192972777E258d,
-        +2.1313950901331177E258d,
-        +8.919141843592823E258d,
-        -1.1800039972549816E259d,
-        -1.1878772398311421E260d,
-        -1.538273497873993E260d,
-        -4.51305093266001E260d,
-        +1.1241179396053055E261d,
-        +6.154786508667658E261d,
-        -1.0626125049032536E262d,
-        -1.8908603201210102E262d,
-        -4.571195152299358E262d,
-        +1.526100002923062E263d,
-        -9.457084582570225E263d,
-        -1.5460500618825853E264d,
-        -5.598276199126451E264d,
-        -1.2074097381167957E265d,
-        -3.015972957475025E265d,
-        +1.4345106852061226E265d,
-        +8.28479585346867E265d,
-        -3.118741081244705E266d,
-        -1.2054747399765794E266d,
-        +3.4454766202661184E267d,
-        +1.1279135096919439E268d,
-        +1.2066382528772518E268d,
-        +1.1984128162292276E269d,
-        +3.685169705587367E268d,
-        +6.570047690198998E269d,
-        +1.8836492887460383E270d,
-        +7.4364594917181125E270d,
-        +1.2773080633674971E271d,
-        +1.8928981707279692E271d,
-        +4.039437286589528E271d,
-        +1.785277385538302E272d,
-        -6.017681359527226E272d,
-        +1.9716943051755635E273d,
-        -8.772048092842086E271d,
-        +1.5645672698520312E274d,
-        -3.7979660725865874E274d,
-        +5.324902289537048E274d,
-        -1.8806716685063293E274d,
-        +9.320900373401115E275d,
-        +1.4615985810260016E275d,
-        +8.321226457219046E276d,
-        -4.608112855795952E276d,
-        -3.476352191116455E277d,
-        +5.266381689434054E277d,
-        -9.622106063561645E277d,
-        +4.1719443712336026E278d,
-        +4.222411269063919E279d,
-        -6.714376022102489E279d,
-        -1.0732735585199074E280d,
-        -2.5866883048437488E280d,
-        -1.1306860837934988E281d,
-        +3.690690354793168E281d,
-        -5.5299180508885456E281d,
-        +2.7006726968568243E282d,
-        +4.135457669031131E282d,
-        +2.8401159516008676E283d,
-        +5.127265762024798E283d,
-        -3.4893601256685762E283d,
-        -1.145160459652136E283d,
-        +2.1742808735341656E284d,
-        +4.656972469326391E285d,
-        +7.672307991205681E285d,
-        +1.5781599575584034E286d,
-        +4.218682431618625E286d,
-        -2.4602260687026867E287d,
-        +2.7211316452521414E287d,
-        -1.8740018211089393E288d,
-        +2.6367639658206183E288d,
-        -3.102678910525039E288d,
-        +1.1992295328636466E289d,
-        +6.8190133180135345E289d,
-        +5.783203879030497E289d,
-        +5.171047077293295E290d,
-        +1.8396930096213817E290d,
-        +1.4977047507315718E290d,
-        +1.0672499803427623E292d,
-        +3.3310942289102464E291d,
-        -7.962256961838823E292d,
-        +1.7396889119023863E293d,
-        +3.8072183820435085E293d,
-        +2.2772059538865722E294d,
-        -2.0549866377878678E294d,
-        -1.2277120342804144E295d,
-        -3.609949022969024E295d,
-        +1.1479863663699871E296d,
-        -1.5314373779304356E296d,
-        -2.2537635160762597E296d,
-        -6.1370690793508674E296d,
-        -4.996854125490041E297d,
-        -6.883499809714189E297d,
-        -2.595456638706416E298d,
-        -1.1892631528580186E299d,
-        -1.4672600326020399E299d,
-        -3.200068509818696E299d,
-        -7.126913872617518E298d,
-        -3.3655587417265094E300d,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-        Double.NaN,
-    };
-
-
-    /** Exponential over the range of 0 - 1 in increments of 2^-10
-     * exp(x/1024) =  expFracTableA[x] + expFracTableB[x].
-     * 1024 = 2^10
-     */
-    private static final double[] EXP_FRAC_A = new double[] {
-      +1.0d,
-      +1.0009770393371582d,
-      +1.0019550323486328d,
-      +1.0029339790344238d,
-      +1.0039138793945312d,
-      +1.004894733428955d,
-      +1.0058765411376953d,
-      +1.006859302520752d,
-      +1.007843017578125d,
-      +1.0088276863098145d,
-      +1.0098135471343994d,
-      +1.0108001232147217d,
-      +1.0117876529693604d,
-      +1.0127761363983154d,
-      +1.013765811920166d,
-      +1.014756202697754d,
-      +1.0157477855682373d,
-      +1.016740083694458d,
-      +1.0177335739135742d,
-      +1.0187277793884277d,
-      +1.0197231769561768d,
-      +1.0207195281982422d,
-      +1.021716833114624d,
-      +1.0227150917053223d,
-      +1.023714303970337d,
-      +1.024714469909668d,
-      +1.0257158279418945d,
-      +1.0267179012298584d,
-      +1.0277209281921387d,
-      +1.0287251472473145d,
-      +1.0297303199768066d,
-      +1.0307364463806152d,
-      +1.0317435264587402d,
-      +1.0327515602111816d,
-      +1.0337605476379395d,
-      +1.0347704887390137d,
-      +1.0357816219329834d,
-      +1.0367934703826904d,
-      +1.037806510925293d,
-      +1.038820505142212d,
-      +1.0398354530334473d,
-      +1.040851354598999d,
-      +1.0418684482574463d,
-      +1.0428862571716309d,
-      +1.043905258178711d,
-      +1.0449252128601074d,
-      +1.0459461212158203d,
-      +1.0469679832458496d,
-      +1.0479910373687744d,
-      +1.0490150451660156d,
-      +1.0500397682189941d,
-      +1.0510656833648682d,
-      +1.0520927906036377d,
-      +1.0531206130981445d,
-      +1.0541496276855469d,
-      +1.0551795959472656d,
-      +1.0562105178833008d,
-      +1.0572423934936523d,
-      +1.0582754611968994d,
-      +1.059309482574463d,
-      +1.0603444576263428d,
-      +1.061380386352539d,
-      +1.0624175071716309d,
-      +1.06345534324646d,
-      +1.0644943714141846d,
-      +1.0655345916748047d,
-      +1.066575527191162d,
-      +1.067617654800415d,
-      +1.0686607360839844d,
-      +1.0697050094604492d,
-      +1.0707499980926514d,
-      +1.071796178817749d,
-      +1.072843313217163d,
-      +1.0738916397094727d,
-      +1.0749409198760986d,
-      +1.075991153717041d,
-      +1.0770423412322998d,
-      +1.078094720840454d,
-      +1.0791480541229248d,
-      +1.080202341079712d,
-      +1.0812578201293945d,
-      +1.0823142528533936d,
-      +1.083371639251709d,
-      +1.08443021774292d,
-      +1.0854897499084473d,
-      +1.086550235748291d,
-      +1.0876119136810303d,
-      +1.088674545288086d,
-      +1.089738130569458d,
-      +1.0908029079437256d,
-      +1.0918686389923096d,
-      +1.092935562133789d,
-      +1.094003438949585d,
-      +1.0950722694396973d,
-      +1.096142053604126d,
-      +1.0972130298614502d,
-      +1.09828519821167d,
-      +1.099358320236206d,
-      +1.1004323959350586d,
-      +1.1015074253082275d,
-      +1.102583646774292d,
-      +1.103661060333252d,
-      +1.1047391891479492d,
-      +1.105818748474121d,
-      +1.1068990230560303d,
-      +1.107980489730835d,
-      +1.1090631484985352d,
-      +1.1101467609405518d,
-      +1.1112313270568848d,
-      +1.1123170852661133d,
-      +1.1134037971496582d,
-      +1.1144917011260986d,
-      +1.1155805587768555d,
-      +1.1166706085205078d,
-      +1.1177616119384766d,
-      +1.1188538074493408d,
-      +1.1199469566345215d,
-      +1.1210410594940186d,
-      +1.1221363544464111d,
-      +1.1232328414916992d,
-      +1.1243302822113037d,
-      +1.1254286766052246d,
-      +1.126528263092041d,
-      +1.127629041671753d,
-      +1.1287307739257812d,
-      +1.129833459854126d,
-      +1.1309373378753662d,
-      +1.132042407989502d,
-      +1.133148431777954d,
-      +1.1342556476593018d,
-      +1.1353638172149658d,
-      +1.1364731788635254d,
-      +1.1375834941864014d,
-      +1.1386950016021729d,
-      +1.1398074626922607d,
-      +1.1409211158752441d,
-      +1.142035961151123d,
-      +1.1431517601013184d,
-      +1.14426851272583d,
-      +1.1453864574432373d,
-      +1.14650559425354d,
-      +1.1476259231567383d,
-      +1.148747205734253d,
-      +1.149869441986084d,
-      +1.1509928703308105d,
-      +1.1521174907684326d,
-      +1.153243064880371d,
-      +1.154369831085205d,
-      +1.1554977893829346d,
-      +1.1566267013549805d,
-      +1.1577568054199219d,
-      +1.1588881015777588d,
-      +1.160020351409912d,
-      +1.161153793334961d,
-      +1.1622881889343262d,
-      +1.163423776626587d,
-      +1.1645605564117432d,
-      +1.1656982898712158d,
-      +1.166837215423584d,
-      +1.1679773330688477d,
-      +1.1691184043884277d,
-      +1.1702606678009033d,
-      +1.1714041233062744d,
-      +1.172548532485962d,
-      +1.173694133758545d,
-      +1.1748409271240234d,
-      +1.1759889125823975d,
-      +1.177137851715088d,
-      +1.1782879829406738d,
-      +1.1794393062591553d,
-      +1.1805915832519531d,
-      +1.1817450523376465d,
-      +1.1828997135162354d,
-      +1.1840553283691406d,
-      +1.1852121353149414d,
-      +1.1863701343536377d,
-      +1.1875293254852295d,
-      +1.1886897087097168d,
-      +1.1898510456085205d,
-      +1.1910135746002197d,
-      +1.1921772956848145d,
-      +1.1933419704437256d,
-      +1.1945080757141113d,
-      +1.1956751346588135d,
-      +1.1968433856964111d,
-      +1.1980125904083252d,
-      +1.1991832256317139d,
-      +1.200354814529419d,
-      +1.2015275955200195d,
-      +1.2027015686035156d,
-      +1.2038767337799072d,
-      +1.2050528526306152d,
-      +1.2062301635742188d,
-      +1.2074086666107178d,
-      +1.2085883617401123d,
-      +1.2097692489624023d,
-      +1.210951328277588d,
-      +1.2121343612670898d,
-      +1.2133188247680664d,
-      +1.2145042419433594d,
-      +1.2156908512115479d,
-      +1.2168786525726318d,
-      +1.2180676460266113d,
-      +1.2192575931549072d,
-      +1.2204489707946777d,
-      +1.2216413021087646d,
-      +1.222834825515747d,
-      +1.224029779434204d,
-      +1.2252256870269775d,
-      +1.2264227867126465d,
-      +1.227621078491211d,
-      +1.2288203239440918d,
-      +1.2300209999084473d,
-      +1.2312228679656982d,
-      +1.2324256896972656d,
-      +1.2336299419403076d,
-      +1.234835147857666d,
-      +1.23604154586792d,
-      +1.2372493743896484d,
-      +1.2384581565856934d,
-      +1.2396681308746338d,
-      +1.2408792972564697d,
-      +1.2420918941497803d,
-      +1.2433054447174072d,
-      +1.2445201873779297d,
-      +1.2457361221313477d,
-      +1.2469532489776611d,
-      +1.2481715679168701d,
-      +1.2493910789489746d,
-      +1.2506117820739746d,
-      +1.2518336772918701d,
-      +1.2530567646026611d,
-      +1.2542810440063477d,
-      +1.2555065155029297d,
-      +1.2567331790924072d,
-      +1.2579610347747803d,
-      +1.2591900825500488d,
-      +1.260420322418213d,
-      +1.2616519927978516d,
-      +1.2628846168518066d,
-      +1.2641184329986572d,
-      +1.2653534412384033d,
-      +1.266589879989624d,
-      +1.2678272724151611d,
-      +1.2690660953521729d,
-      +1.27030611038208d,
-      +1.2715470790863037d,
-      +1.272789478302002d,
-      +1.2740330696105957d,
-      +1.275277853012085d,
-      +1.2765238285064697d,
-      +1.27777099609375d,
-      +1.2790195941925049d,
-      +1.2802691459655762d,
-      +1.281519889831543d,
-      +1.2827720642089844d,
-      +1.2840254306793213d,
-      +1.2852799892425537d,
-      +1.2865357398986816d,
-      +1.287792682647705d,
-      +1.2890510559082031d,
-      +1.2903103828430176d,
-      +1.2915711402893066d,
-      +1.2928330898284912d,
-      +1.2940962314605713d,
-      +1.2953605651855469d,
-      +1.296626091003418d,
-      +1.2978930473327637d,
-      +1.2991611957550049d,
-      +1.3004305362701416d,
-      +1.3017010688781738d,
-      +1.3029727935791016d,
-      +1.304245948791504d,
-      +1.3055200576782227d,
-      +1.3067958354949951d,
-      +1.308072566986084d,
-      +1.3093504905700684d,
-      +1.3106298446655273d,
-      +1.3119103908538818d,
-      +1.3131921291351318d,
-      +1.3144752979278564d,
-      +1.3157594203948975d,
-      +1.317044973373413d,
-      +1.3183319568634033d,
-      +1.31961989402771d,
-      +1.3209092617034912d,
-      +1.322199821472168d,
-      +1.3234915733337402d,
-      +1.324784755706787d,
-      +1.3260791301727295d,
-      +1.3273746967315674d,
-      +1.3286716938018799d,
-      +1.329969882965088d,
-      +1.3312692642211914d,
-      +1.3325698375701904d,
-      +1.333871841430664d,
-      +1.3351752758026123d,
-      +1.336479663848877d,
-      +1.3377854824066162d,
-      +1.339092493057251d,
-      +1.3404009342193604d,
-      +1.3417105674743652d,
-      +1.3430213928222656d,
-      +1.3443336486816406d,
-      +1.3456470966339111d,
-      +1.3469617366790771d,
-      +1.3482778072357178d,
-      +1.349595069885254d,
-      +1.3509137630462646d,
-      +1.352233648300171d,
-      +1.3535549640655518d,
-      +1.3548774719238281d,
-      +1.356201171875d,
-      +1.3575263023376465d,
-      +1.3588526248931885d,
-      +1.360180139541626d,
-      +1.361509084701538d,
-      +1.3628394603729248d,
-      +1.364171028137207d,
-      +1.3655037879943848d,
-      +1.366837978363037d,
-      +1.368173360824585d,
-      +1.3695101737976074d,
-      +1.3708481788635254d,
-      +1.372187614440918d,
-      +1.373528242111206d,
-      +1.3748703002929688d,
-      +1.376213550567627d,
-      +1.3775582313537598d,
-      +1.378904104232788d,
-      +1.380251407623291d,
-      +1.3815999031066895d,
-      +1.3829498291015625d,
-      +1.384300947189331d,
-      +1.3856534957885742d,
-      +1.387007236480713d,
-      +1.3883624076843262d,
-      +1.389719009399414d,
-      +1.3910768032073975d,
-      +1.3924360275268555d,
-      +1.393796443939209d,
-      +1.395158290863037d,
-      +1.3965213298797607d,
-      +1.397885799407959d,
-      +1.3992514610290527d,
-      +1.4006187915802002d,
-      +1.401987075805664d,
-      +1.4033570289611816d,
-      +1.4047281742095947d,
-      +1.4061005115509033d,
-      +1.4074742794036865d,
-      +1.4088494777679443d,
-      +1.4102261066436768d,
-      +1.4116039276123047d,
-      +1.4129831790924072d,
-      +1.4143636226654053d,
-      +1.415745496749878d,
-      +1.4171288013458252d,
-      +1.418513298034668d,
-      +1.4198992252349854d,
-      +1.4212865829467773d,
-      +1.4226751327514648d,
-      +1.424065351486206d,
-      +1.4254565238952637d,
-      +1.426849365234375d,
-      +1.4282433986663818d,
-      +1.4296388626098633d,
-      +1.4310357570648193d,
-      +1.432433843612671d,
-      +1.433833360671997d,
-      +1.4352343082427979d,
-      +1.4366366863250732d,
-      +1.4380402565002441d,
-      +1.4394452571868896d,
-      +1.4408516883850098d,
-      +1.4422595500946045d,
-      +1.4436686038970947d,
-      +1.4450790882110596d,
-      +1.446491003036499d,
-      +1.447904348373413d,
-      +1.4493188858032227d,
-      +1.450735092163086d,
-      +1.4521524906158447d,
-      +1.4535713195800781d,
-      +1.454991340637207d,
-      +1.4564130306243896d,
-      +1.4578359127044678d,
-      +1.4592602252960205d,
-      +1.460686206817627d,
-      +1.4621131420135498d,
-      +1.4635417461395264d,
-      +1.4649717807769775d,
-      +1.4664030075073242d,
-      +1.4678359031677246d,
-      +1.4692699909210205d,
-      +1.470705509185791d,
-      +1.4721424579620361d,
-      +1.4735808372497559d,
-      +1.475020408630371d,
-      +1.47646164894104d,
-      +1.4779040813446045d,
-      +1.4793481826782227d,
-      +1.4807934761047363d,
-      +1.4822404384613037d,
-      +1.4836885929107666d,
-      +1.485138177871704d,
-      +1.4865891933441162d,
-      +1.488041639328003d,
-      +1.4894955158233643d,
-      +1.4909508228302002d,
-      +1.4924075603485107d,
-      +1.493865728378296d,
-      +1.4953253269195557d,
-      +1.49678635597229d,
-      +1.49824857711792d,
-      +1.4997124671936035d,
-      +1.5011777877807617d,
-      +1.5026445388793945d,
-      +1.504112720489502d,
-      +1.505582332611084d,
-      +1.5070531368255615d,
-      +1.5085256099700928d,
-      +1.5099995136260986d,
-      +1.511474847793579d,
-      +1.5129516124725342d,
-      +1.5144298076629639d,
-      +1.5159096717834473d,
-      +1.5173907279968262d,
-      +1.5188732147216797d,
-      +1.5203571319580078d,
-      +1.5218427181243896d,
-      +1.523329496383667d,
-      +1.524817943572998d,
-      +1.5263078212738037d,
-      +1.5277988910675049d,
-      +1.5292916297912598d,
-      +1.5307857990264893d,
-      +1.5322813987731934d,
-      +1.5337786674499512d,
-      +1.5352771282196045d,
-      +1.5367772579193115d,
-      +1.538278579711914d,
-      +1.5397815704345703d,
-      +1.5412859916687012d,
-      +1.5427920818328857d,
-      +1.5442993640899658d,
-      +1.5458080768585205d,
-      +1.547318458557129d,
-      +1.548830270767212d,
-      +1.5503435134887695d,
-      +1.5518584251403809d,
-      +1.5533745288848877d,
-      +1.5548923015594482d,
-      +1.5564115047454834d,
-      +1.5579321384429932d,
-      +1.5594542026519775d,
-      +1.5609779357910156d,
-      +1.5625030994415283d,
-      +1.5640296936035156d,
-      +1.5655577182769775d,
-      +1.5670874118804932d,
-      +1.5686185359954834d,
-      +1.5701510906219482d,
-      +1.5716853141784668d,
-      +1.5732207298278809d,
-      +1.5747578144073486d,
-      +1.5762965679168701d,
-      +1.577836513519287d,
-      +1.5793781280517578d,
-      +1.5809214115142822d,
-      +1.5824658870697021d,
-      +1.5840120315551758d,
-      +1.5855598449707031d,
-      +1.587108850479126d,
-      +1.5886595249176025d,
-      +1.5902118682861328d,
-      +1.5917654037475586d,
-      +1.593320608139038d,
-      +1.5948774814605713d,
-      +1.596435785293579d,
-      +1.5979955196380615d,
-      +1.5995566844940186d,
-      +1.6011195182800293d,
-      +1.6026840209960938d,
-      +1.6042497158050537d,
-      +1.6058173179626465d,
-      +1.6073861122131348d,
-      +1.6089565753936768d,
-      +1.6105287075042725d,
-      +1.6121022701263428d,
-      +1.6136772632598877d,
-      +1.6152539253234863d,
-      +1.6168320178985596d,
-      +1.6184117794036865d,
-      +1.619992971420288d,
-      +1.6215758323669434d,
-      +1.6231601238250732d,
-      +1.6247460842132568d,
-      +1.626333475112915d,
-      +1.627922534942627d,
-      +1.6295130252838135d,
-      +1.6311051845550537d,
-      +1.6326987743377686d,
-      +1.634294033050537d,
-      +1.6358907222747803d,
-      +1.6374890804290771d,
-      +1.6390891075134277d,
-      +1.640690565109253d,
-      +1.6422934532165527d,
-      +1.6438980102539062d,
-      +1.6455042362213135d,
-      +1.6471118927001953d,
-      +1.6487212181091309d,
-      +1.6503322124481201d,
-      +1.651944637298584d,
-      +1.6535584926605225d,
-      +1.6551742553710938d,
-      +1.6567914485931396d,
-      +1.6584100723266602d,
-      +1.6600303649902344d,
-      +1.6616523265838623d,
-      +1.663275957107544d,
-      +1.6649010181427002d,
-      +1.666527509689331d,
-      +1.6681559085845947d,
-      +1.669785737991333d,
-      +1.671417236328125d,
-      +1.6730501651763916d,
-      +1.674684762954712d,
-      +1.676321029663086d,
-      +1.6779589653015137d,
-      +1.679598331451416d,
-      +1.681239366531372d,
-      +1.6828820705413818d,
-      +1.6845262050628662d,
-      +1.6861720085144043d,
-      +1.687819480895996d,
-      +1.6894686222076416d,
-      +1.6911191940307617d,
-      +1.6927716732025146d,
-      +1.6944255828857422d,
-      +1.6960809230804443d,
-      +1.6977381706237793d,
-      +1.6993968486785889d,
-      +1.7010571956634521d,
-      +1.7027192115783691d,
-      +1.7043828964233398d,
-      +1.7060482501983643d,
-      +1.7077150344848633d,
-      +1.709383487701416d,
-      +1.7110536098480225d,
-      +1.7127254009246826d,
-      +1.7143988609313965d,
-      +1.716073989868164d,
-      +1.7177505493164062d,
-      +1.7194287776947021d,
-      +1.7211089134216309d,
-      +1.7227904796600342d,
-      +1.7244737148284912d,
-      +1.726158618927002d,
-      +1.7278449535369873d,
-      +1.7295331954956055d,
-      +1.7312231063842773d,
-      +1.7329144477844238d,
-      +1.7346076965332031d,
-      +1.736302375793457d,
-      +1.7379989624023438d,
-      +1.739696979522705d,
-      +1.7413966655731201d,
-      +1.7430980205535889d,
-      +1.7448012828826904d,
-      +1.7465059757232666d,
-      +1.7482123374938965d,
-      +1.74992036819458d,
-      +1.7516300678253174d,
-      +1.7533416748046875d,
-      +1.7550547122955322d,
-      +1.7567694187164307d,
-      +1.7584857940673828d,
-      +1.7602040767669678d,
-      +1.7619237899780273d,
-      +1.7636451721191406d,
-      +1.7653684616088867d,
-      +1.7670931816101074d,
-      +1.768819808959961d,
-      +1.770547866821289d,
-      +1.77227783203125d,
-      +1.7740094661712646d,
-      +1.775742769241333d,
-      +1.777477741241455d,
-      +1.7792143821716309d,
-      +1.7809526920318604d,
-      +1.7826926708221436d,
-      +1.7844345569610596d,
-      +1.7861778736114502d,
-      +1.7879230976104736d,
-      +1.7896699905395508d,
-      +1.7914185523986816d,
-      +1.7931687831878662d,
-      +1.7949209213256836d,
-      +1.7966744899749756d,
-      +1.7984299659729004d,
-      +1.800187110900879d,
-      +1.8019459247589111d,
-      +1.8037066459655762d,
-      +1.8054687976837158d,
-      +1.8072328567504883d,
-      +1.8089985847473145d,
-      +1.8107659816741943d,
-      +1.812535285949707d,
-      +1.8143062591552734d,
-      +1.8160789012908936d,
-      +1.8178532123565674d,
-      +1.819629430770874d,
-      +1.8214070796966553d,
-      +1.8231868743896484d,
-      +1.8249680995941162d,
-      +1.8267512321472168d,
-      +1.828536033630371d,
-      +1.830322504043579d,
-      +1.83211088180542d,
-      +1.8339009284973145d,
-      +1.8356926441192627d,
-      +1.8374862670898438d,
-      +1.8392815589904785d,
-      +1.841078519821167d,
-      +1.8428773880004883d,
-      +1.8446779251098633d,
-      +1.846480131149292d,
-      +1.8482842445373535d,
-      +1.8500902652740479d,
-      +1.8518977165222168d,
-      +1.8537070751190186d,
-      +1.8555183410644531d,
-      +1.8573312759399414d,
-      +1.8591458797454834d,
-      +1.8609623908996582d,
-      +1.8627805709838867d,
-      +1.864600658416748d,
-      +1.866422414779663d,
-      +1.8682458400726318d,
-      +1.8700714111328125d,
-      +1.8718984127044678d,
-      +1.8737273216247559d,
-      +1.8755581378936768d,
-      +1.8773906230926514d,
-      +1.8792247772216797d,
-      +1.8810608386993408d,
-      +1.8828988075256348d,
-      +1.8847384452819824d,
-      +1.886579990386963d,
-      +1.888423204421997d,
-      +1.890268325805664d,
-      +1.8921151161193848d,
-      +1.8939638137817383d,
-      +1.8958141803741455d,
-      +1.8976664543151855d,
-      +1.8995206356048584d,
-      +1.901376485824585d,
-      +1.9032342433929443d,
-      +1.9050939083099365d,
-      +1.9069552421569824d,
-      +1.908818244934082d,
-      +1.9106833934783936d,
-      +1.9125502109527588d,
-      +1.9144186973571777d,
-      +1.9162893295288086d,
-      +1.9181616306304932d,
-      +1.9200356006622314d,
-      +1.9219114780426025d,
-      +1.9237892627716064d,
-      +1.9256689548492432d,
-      +1.9275505542755127d,
-      +1.929433822631836d,
-      +1.931318759918213d,
-      +1.9332058429718018d,
-      +1.9350945949554443d,
-      +1.9369852542877197d,
-      +1.938877820968628d,
-      +1.940772294998169d,
-      +1.9426684379577637d,
-      +1.9445664882659912d,
-      +1.9464664459228516d,
-      +1.9483680725097656d,
-      +1.9502718448638916d,
-      +1.9521772861480713d,
-      +1.9540846347808838d,
-      +1.955993890762329d,
-      +1.9579050540924072d,
-      +1.959817886352539d,
-      +1.9617326259613037d,
-      +1.9636495113372803d,
-      +1.9655680656433105d,
-      +1.9674885272979736d,
-      +1.9694106578826904d,
-      +1.9713349342346191d,
-      +1.9732608795166016d,
-      +1.975188970565796d,
-      +1.977118730545044d,
-      +1.9790503978729248d,
-      +1.9809842109680176d,
-      +1.982919692993164d,
-      +1.9848570823669434d,
-      +1.9867963790893555d,
-      +1.9887375831604004d,
-      +1.990680456161499d,
-      +1.9926254749298096d,
-      +1.994572401046753d,
-      +1.996521234512329d,
-      +1.998471736907959d,
-      +2.000424385070801d,
-      +2.0023789405822754d,
-      +2.004335403442383d,
-      +2.006293773651123d,
-      +2.008254051208496d,
-      +2.010216236114502d,
-      +2.0121798515319824d,
-      +2.014145851135254d,
-      +2.016113758087158d,
-      +2.0180835723876953d,
-      +2.0200552940368652d,
-      +2.022029399871826d,
-      +2.0240049362182617d,
-      +2.02598237991333d,
-      +2.0279617309570312d,
-      +2.0299429893493652d,
-      +2.0319266319274902d,
-      +2.03391170501709d,
-      +2.0358991622924805d,
-      +2.0378880500793457d,
-      +2.039879322052002d,
-      +2.041872501373291d,
-      +2.0438671112060547d,
-      +2.0458641052246094d,
-      +2.047863006591797d,
-      +2.049863815307617d,
-      +2.0518670082092285d,
-      +2.0538716316223145d,
-      +2.055878162384033d,
-      +2.057887077331543d,
-      +2.0598974227905273d,
-      +2.0619101524353027d,
-      +2.063924789428711d,
-      +2.065941333770752d,
-      +2.067959785461426d,
-      +2.0699801445007324d,
-      +2.07200288772583d,
-      +2.0740270614624023d,
-      +2.0760536193847656d,
-      +2.0780820846557617d,
-      +2.0801124572753906d,
-      +2.0821447372436523d,
-      +2.084178924560547d,
-      +2.0862154960632324d,
-      +2.0882534980773926d,
-      +2.0902938842773438d,
-      +2.0923361778259277d,
-      +2.0943803787231445d,
-      +2.0964269638061523d,
-      +2.0984749794006348d,
-      +2.100525379180908d,
-      +2.1025776863098145d,
-      +2.1046319007873535d,
-      +2.1066884994506836d,
-      +2.1087465286254883d,
-      +2.110806941986084d,
-      +2.1128692626953125d,
-      +2.114933490753174d,
-      +2.117000102996826d,
-      +2.1190686225891113d,
-      +2.1211390495300293d,
-      +2.12321138381958d,
-      +2.1252856254577637d,
-      +2.1273622512817383d,
-      +2.1294407844543457d,
-      +2.131521224975586d,
-      +2.133604049682617d,
-      +2.135688304901123d,
-      +2.13777494430542d,
-      +2.139863967895508d,
-      +2.1419544219970703d,
-      +2.144047260284424d,
-      +2.14614200592041d,
-      +2.1482391357421875d,
-      +2.1503376960754395d,
-      +2.1524391174316406d,
-      +2.1545419692993164d,
-      +2.156647205352783d,
-      +2.1587538719177246d,
-      +2.1608633995056152d,
-      +2.1629743576049805d,
-      +2.1650876998901367d,
-      +2.167203426361084d,
-      +2.169320583343506d,
-      +2.1714401245117188d,
-      +2.1735615730285645d,
-      +2.175685405731201d,
-      +2.1778111457824707d,
-      +2.179938793182373d,
-      +2.1820688247680664d,
-      +2.1842007637023926d,
-      +2.1863350868225098d,
-      +2.1884708404541016d,
-      +2.1906094551086426d,
-      +2.192749500274658d,
-      +2.194891929626465d,
-      +2.1970362663269043d,
-      +2.1991829872131348d,
-      +2.201331615447998d,
-      +2.2034826278686523d,
-      +2.2056355476379395d,
-      +2.2077903747558594d,
-      +2.2099475860595703d,
-      +2.212106704711914d,
-      +2.214268207550049d,
-      +2.2164316177368164d,
-      +2.218596935272217d,
-      +2.220764636993408d,
-      +2.2229342460632324d,
-      +2.2251062393188477d,
-      +2.2272801399230957d,
-      +2.2294564247131348d,
-      +2.2316346168518066d,
-      +2.2338151931762695d,
-      +2.2359976768493652d,
-      +2.2381820678710938d,
-      +2.2403693199157715d,
-      +2.242558002471924d,
-      +2.244749069213867d,
-      +2.2469425201416016d,
-      +2.2491378784179688d,
-      +2.2513351440429688d,
-      +2.2535347938537598d,
-      +2.2557363510131836d,
-      +2.2579402923583984d,
-      +2.2601466178894043d,
-      +2.262354850769043d,
-      +2.2645654678344727d,
-      +2.266777992248535d,
-      +2.2689924240112305d,
-      +2.271209716796875d,
-      +2.273428440093994d,
-      +2.2756495475769043d,
-      +2.2778730392456055d,
-      +2.2800989151000977d,
-      +2.2823266983032227d,
-      +2.2845563888549805d,
-      +2.2867884635925293d,
-      +2.289022922515869d,
-      +2.291259288787842d,
-      +2.2934980392456055d,
-      +2.295738697052002d,
-      +2.2979817390441895d,
-      +2.300227165222168d,
-      +2.3024744987487793d,
-      +2.3047242164611816d,
-      +2.306975841522217d,
-      +2.309229850769043d,
-      +2.31148624420166d,
-      +2.31374454498291d,
-      +2.316005229949951d,
-      +2.318267822265625d,
-      +2.32053279876709d,
-      +2.3228001594543457d,
-      +2.3250694274902344d,
-      +2.3273415565490723d,
-      +2.3296151161193848d,
-      +2.3318915367126465d,
-      +2.334169864654541d,
-      +2.3364500999450684d,
-      +2.338733196258545d,
-      +2.3410181999206543d,
-      +2.3433055877685547d,
-      +2.345594882965088d,
-      +2.347886562347412d,
-      +2.3501806259155273d,
-      +2.3524770736694336d,
-      +2.3547754287719727d,
-      +2.3570761680603027d,
-      +2.3593788146972656d,
-      +2.3616843223571777d,
-      +2.3639917373657227d,
-      +2.3663015365600586d,
-      +2.3686132431030273d,
-      +2.370927333831787d,
-      +2.373243808746338d,
-      +2.3755626678466797d,
-      +2.3778839111328125d,
-      +2.380207061767578d,
-      +2.3825325965881348d,
-      +2.3848605155944824d,
-      +2.387190818786621d,
-      +2.3895230293273926d,
-      +2.391857624053955d,
-      +2.3941946029663086d,
-      +2.396533966064453d,
-      +2.3988752365112305d,
-      +2.401218891143799d,
-      +2.4035654067993164d,
-      +2.4059133529663086d,
-      +2.40826416015625d,
-      +2.4106173515319824d,
-      +2.4129724502563477d,
-      +2.415329933166504d,
-      +2.417689800262451d,
-      +2.4200520515441895d,
-      +2.4224166870117188d,
-      +2.424783229827881d,
-      +2.427152633666992d,
-      +2.4295239448547363d,
-      +2.4318976402282715d,
-      +2.4342737197875977d,
-      +2.436652183532715d,
-      +2.439032554626465d,
-      +2.441415786743164d,
-      +2.4438014030456543d,
-      +2.4461889266967773d,
-      +2.4485788345336914d,
-      +2.4509711265563965d,
-      +2.4533658027648926d,
-      +2.4557628631591797d,
-      +2.458162307739258d,
-      +2.460564136505127d,
-      +2.462968349456787d,
-      +2.46537446975708d,
-      +2.4677834510803223d,
-      +2.4701943397521973d,
-      +2.4726080894470215d,
-      +2.4750237464904785d,
-      +2.4774417877197266d,
-      +2.479862689971924d,
-      +2.482285499572754d,
-      +2.484710693359375d,
-      +2.487138271331787d,
-      +2.4895682334899902d,
-      +2.4920010566711426d,
-      +2.4944357872009277d,
-      +2.496872901916504d,
-      +2.499312400817871d,
-      +2.5017542839050293d,
-      +2.5041985511779785d,
-      +2.5066452026367188d,
-      +2.50909423828125d,
-      +2.5115456581115723d,
-      +2.5139999389648438d,
-      +2.516456127166748d,
-      +2.5189146995544434d,
-      +2.5213756561279297d,
-      +2.5238394737243652d,
-      +2.5263051986694336d,
-      +2.528773307800293d,
-      +2.5312442779541016d,
-      +2.533717155456543d,
-      +2.5361928939819336d,
-      +2.538670539855957d,
-      +2.5411510467529297d,
-      +2.5436339378356934d,
-      +2.546119213104248d,
-      +2.5486068725585938d,
-      +2.5510969161987305d,
-      +2.553589344024658d,
-      +2.556084632873535d,
-      +2.558581829071045d,
-      +2.5610814094543457d,
-      +2.5635838508605957d,
-      +2.5660886764526367d,
-      +2.5685958862304688d,
-      +2.571105480194092d,
-      +2.573617458343506d,
-      +2.576131820678711d,
-      +2.5786490440368652d,
-      +2.5811686515808105d,
-      +2.5836901664733887d,
-      +2.586214542388916d,
-      +2.5887417793273926d,
-      +2.591270923614502d,
-      +2.5938024520874023d,
-      +2.596336841583252d,
-      +2.5988736152648926d,
-      +2.601412773132324d,
-      +2.603954315185547d,
-      +2.6064987182617188d,
-      +2.6090455055236816d,
-      +2.6115946769714355d,
-      +2.6141462326049805d,
-      +2.6167001724243164d,
-      +2.6192569732666016d,
-      +2.6218161582946777d,
-      +2.624377727508545d,
-      +2.626941680908203d,
-      +2.6295084953308105d,
-      +2.632077217102051d,
-      +2.6346492767333984d,
-      +2.637223243713379d,
-      +2.6398000717163086d,
-      +2.6423792839050293d,
-      +2.644960880279541d,
-      +2.6475448608398438d,
-      +2.6501317024230957d,
-      +2.6527209281921387d,
-      +2.655313014984131d,
-      +2.657907009124756d,
-      +2.6605043411254883d,
-      +2.6631035804748535d,
-      +2.665705680847168d,
-      +2.6683101654052734d,
-      +2.67091703414917d,
-      +2.6735267639160156d,
-      +2.6761388778686523d,
-      +2.67875337600708d,
-      +2.681370735168457d,
-      +2.683990478515625d,
-      +2.686613082885742d,
-      +2.689237594604492d,
-      +2.6918654441833496d,
-      +2.69449520111084d,
-      +2.6971278190612793d,
-      +2.699763298034668d,
-      +2.7024011611938477d,
-      +2.7050414085388184d,
-      +2.70768404006958d,
-      +2.710329532623291d,
-      +2.712977886199951d,
-      +2.7156286239624023d,
-      +2.7182817459106445d,
-    };
-
-    /** Exponential over the range of 0 - 1 in increments of 2^-10
-     * exp(x/1024) =  expFracTableA[x] + expFracTableB[x].
-     */
-    private static final double[] EXP_FRAC_B = new double[] {
-      +0.0d,
-      +1.552583321178453E-10d,
-      +1.2423699995465188E-9d,
-      +4.194022929828008E-9d,
-      +9.94381632344361E-9d,
-      +1.9426261544163577E-8d,
-      +3.3576783010266685E-8d,
-      +5.3331719086630523E-8d,
-      +7.962832297769345E-8d,
-      +1.1340476362128895E-7d,
-      -8.281845251820919E-8d,
-      -3.126416414805498E-8d,
-      +3.058997113995161E-8d,
-      +1.0368579417304741E-7d,
-      -4.9452513107409435E-8d,
-      +4.8955889659397494E-8d,
-      -7.698155155722897E-8d,
-      +5.051784853384516E-8d,
-      -4.443661736519001E-8d,
-      +1.1593958457401774E-7d,
-      +5.575759739697068E-8d,
-      +1.4385227981629147E-8d,
-      -7.227368462584163E-9d,
-      -8.129108387083023E-9d,
-      +1.263202100290635E-8d,
-      +5.600896265625552E-8d,
-      -1.154629885168314E-7d,
-      -2.399186832888246E-8d,
-      +9.295948298604103E-8d,
-      -2.070841011504222E-9d,
-      -6.97066538508643E-8d,
-      -1.0898941254272996E-7d,
-      -1.1895963756343625E-7d,
-      -9.865691193993138E-8d,
-      -4.711988033385175E-8d,
-      +3.6613751875298095E-8d,
-      -8.491135959370133E-8d,
-      +6.610611940107793E-8d,
-      +1.3794148633283659E-8d,
-      -2.462631860370667E-9d,
-      +1.830278273495162E-8d,
-      +7.705834203598065E-8d,
-      -6.364563771711373E-8d,
-      +7.39978436695387E-8d,
-      +1.4122417557484554E-8d,
-      -3.881598887298574E-9d,
-      +2.0958481826069642E-8d,
-      +8.96162975425619E-8d,
-      -3.535214171178576E-8d,
-      -1.1455271549574576E-7d,
-      +9.140964977432485E-8d,
-      +1.0667524445105459E-7d,
-      -6.777752790396222E-8d,
-      +4.586785041291296E-8d,
-      -2.8245462428022094E-8d,
-      -5.071761314397018E-8d,
-      -2.0566368810068663E-8d,
-      +6.319146317890346E-8d,
-      -3.687854305539139E-8d,
-      -8.137269363160008E-8d,
-      -6.930491127388755E-8d,
-      +3.1184473002226595E-10d,
-      -1.0995299963140049E-7d,
-      +7.772668425499348E-8d,
-      +8.750367485925089E-8d,
-      -7.963112393823186E-8d,
-      +5.415131809829094E-8d,
-      +1.3006683896462346E-8d,
-      +3.634736373360733E-8d,
-      -1.132504393233074E-7d,
-      +4.2046187038837375E-8d,
-      +2.6396811618001066E-8d,
-      +7.92177143584738E-8d,
-      -3.691100820545433E-8d,
-      -8.257112559083188E-8d,
-      -5.676200971739166E-8d,
-      +4.151794514828518E-8d,
-      -2.5147255753587636E-8d,
-      -1.7335469415174996E-8d,
-      +6.595784859136531E-8d,
-      -1.2680354928109105E-8d,
-      -1.3824992526093461E-8d,
-      +6.353142754175797E-8d,
-      -1.8021197722549054E-8d,
-      -1.9054827792903468E-8d,
-      +6.144098503892116E-8d,
-      -1.3940903373095247E-8d,
-      -5.7694907599522404E-9d,
-      +8.696863522320578E-8d,
-      +2.6869297963554945E-8d,
-      +5.3366470162689076E-8d,
-      -7.094204160127543E-8d,
-      -1.0662027949814858E-7d,
-      -5.26498707801063E-8d,
-      +9.198855229106814E-8d,
-      +8.989677431456647E-8d,
-      -5.790384407322479E-8d,
-      -1.1197236522467887E-7d,
-      -7.12854317090566E-8d,
-      +6.51813137650059E-8d,
-      +6.003465022483798E-8d,
-      -8.569906238528267E-8d,
-      +1.0584469687624562E-7d,
-      -7.956144278281947E-8d,
-      +7.43676272093501E-8d,
-      +9.182512565315022E-8d,
-      -2.6157563728873715E-8d,
-      -4.012947040998503E-8d,
-      +5.094280572218447E-8d,
-      +9.675095351161728E-9d,
-      +7.552139802281006E-8d,
-      +1.1099566726533146E-8d,
-      +5.58656252899437E-8d,
-      -2.756054703800197E-8d,
-      +2.791018095971047E-10d,
-      -9.799351869734466E-8d,
-      -8.291832428736212E-8d,
-      +4.654720780112994E-8d,
-      +5.302803981406403E-8d,
-      -6.243126731995636E-8d,
-      -6.036655299348577E-8d,
-      +6.026878587378257E-8d,
-      +6.210379583313526E-8d,
-      -5.381287389094251E-8d,
-      -4.8012970400697E-8d,
-      +8.055420567281602E-8d,
-      +9.452180117175641E-8d,
-      -5.057430382371206E-9d,
-      +2.1288872215266507E-8d,
-      -6.380305844689076E-8d,
-      -2.0858800984600168E-8d,
-      -8.724006061713588E-8d,
-      -2.3470351753125604E-8d,
-      -6.690931338790221E-8d,
-      +2.192160831263035E-8d,
-      +5.6648446166177225E-9d,
-      -1.1461755745719884E-7d,
-      -9.944393412663547E-8d,
-      +5.2249837964645906E-8d,
-      +1.0311034276196487E-7d,
-      +5.4203784018566126E-8d,
-      -9.340259278913173E-8d,
-      -1.0022192034216903E-7d,
-      +3.481513333662908E-8d,
-      +7.436036590244714E-8d,
-      +1.9485199912395296E-8d,
-      +1.0968068384729757E-7d,
-      +1.0760175582979094E-7d,
-      +1.4322981952798675E-8d,
-      +6.933855730431659E-8d,
-      +3.530656968851287E-8d,
-      -8.669526204279467E-8d,
-      -5.7169586962345785E-8d,
-      -1.1345515834332824E-7d,
-      -1.605251622332555E-8d,
-      -2.298302779758532E-9d,
-      -7.110952399338234E-8d,
-      +1.70164513845372E-8d,
-      +2.4746155561368937E-8d,
-      -4.6834239957353325E-8d,
-      +4.1781076667923185E-8d,
-      +5.326182134294869E-8d,
-      -1.1302647617762544E-8d,
-      +8.759667154796094E-8d,
-      +1.126326877851684E-7d,
-      +6.48979555673987E-8d,
-      -5.451390316294111E-8d,
-      -6.0896188500539086E-9d,
-      -2.7152010585461855E-8d,
-      -1.1660424775832058E-7d,
-      -3.492984900939992E-8d,
-      -1.944841848873016E-8d,
-      -6.905990750285027E-8d,
-      +5.575538653428039E-8d,
-      +1.1768108384670781E-7d,
-      +1.178204606523101E-7d,
-      +5.727787111340131E-8d,
-      -6.284125161007433E-8d,
-      -3.0118152047565877E-9d,
-      -5.448044533034374E-10d,
-      -5.433154287341921E-8d,
-      +7.515630833946181E-8d,
-      -8.780756503572527E-8d,
-      -6.527407547535494E-8d,
-      -9.45487863616303E-8d,
-      +6.390098458668406E-8d,
-      -6.564672913105876E-8d,
-      -5.238488022920792E-9d,
-      +7.824500749252316E-9d,
-      -2.5339299158309795E-8d,
-      -1.036103313062145E-7d,
-      +1.2550633697348567E-8d,
-      +8.584676196065558E-8d,
-      +1.1740089468291563E-7d,
-      +1.0833697012353316E-7d,
-      +5.978002467397905E-8d,
-      -2.7143806069290897E-8d,
-      +8.711129287069315E-8d,
-      -7.316349947981893E-8d,
-      -3.00015852582934E-8d,
-      -2.0691000399732483E-8d,
-      -4.4100097152254264E-8d,
-      -9.909612209943178E-8d,
-      +5.38733640215475E-8d,
-      -6.0893829005035E-8d,
-      +3.457553391989844E-8d,
-      +1.0300006058273187E-7d,
-      -9.290053015365092E-8d,
-      -7.514966995961323E-8d,
-      -8.10254145615142E-8d,
-      -1.0938612624777085E-7d,
-      +7.932952721989251E-8d,
-      +9.428257290008738E-9d,
-      -7.952636967837795E-8d,
-      +5.203033137154554E-8d,
-      -7.159157201731446E-8d,
-      +2.7593424989059015E-8d,
-      +1.1231621190000476E-7d,
-      -5.469119869891027E-8d,
-      +4.560067256086347E-9d,
-      +5.280427179595944E-8d,
-      +9.119538242455128E-8d,
-      -1.1753008498403413E-7d,
-      -9.537874867759656E-8d,
-      -7.96118345325538E-8d,
-      -6.907085854395348E-8d,
-      -6.259620482221904E-8d,
-      -5.902712448725381E-8d,
-      -5.720173456146447E-8d,
-      -5.5957016861703E-8d,
-      -5.412881689012608E-8d,
-      -5.0551842723970724E-8d,
-      -4.405966390424518E-8d,
-      -3.348471032333413E-8d,
-      -1.7658271111516935E-8d,
-      +4.589506477601956E-9d,
-      +3.4429618182751655E-8d,
-      +7.303420385174346E-8d,
-      -1.168420305422519E-7d,
-      -5.718749537552229E-8d,
-      +1.4754809136835937E-8d,
-      +1.001616104682875E-7d,
-      -3.8207793300052055E-8d,
-      +7.766278405014509E-8d,
-      -2.7883635712109803E-8d,
-      -1.1524714043067699E-7d,
-      +5.517333625963128E-8d,
-      +7.724278756071081E-9d,
-      -1.7990934773848504E-8d,
-      -2.0786347668702902E-8d,
-      +5.251554594269693E-10d,
-      +4.7131849857076246E-8d,
-      -1.1819540733893871E-7d,
-      -1.742885956093543E-8d,
-      +1.1220467571570283E-7d,
-      +3.347954541376715E-8d,
-      -1.399157980498908E-8d,
-      -2.9013441705763093E-8d,
-      -1.0389614239253089E-8d,
-      +4.307749759934266E-8d,
-      -1.0583192018912101E-7d,
-      +2.0919226941745448E-8d,
-      -5.2305110482722706E-8d,
-      -8.588407110184028E-8d,
-      -7.861419797923639E-8d,
-      -2.929085835358592E-8d,
-      +6.329175751021792E-8d,
-      -3.807794163054899E-8d,
-      -9.377320954068088E-8d,
-      -1.0258469865953145E-7d,
-      -6.330187984612758E-8d,
-      +2.5286958775281306E-8d,
-      -7.40238661307607E-8d,
-      +1.1681688445204168E-7d,
-      -1.1623125976292733E-7d,
-      -5.6696107089038004E-8d,
-      +5.822140627806124E-8d,
-      -8.678466172071259E-9d,
-      -1.7757121899175995E-8d,
-      +3.220665454652531E-8d,
-      -9.598330731102836E-8d,
-      +7.573375369829243E-8d,
-      +7.174547784678893E-8d,
-      -1.0672213971363184E-7d,
-      +1.8395252217743006E-8d,
-      -2.8511112548600118E-8d,
-      -7.79306270997787E-9d,
-      +8.178019529487065E-8d,
-      +3.0220784595602374E-9d,
-      -4.4156343103298585E-9d,
-      +6.07014616741277E-8d,
-      -3.8809601937571554E-8d,
-      -6.329342805230603E-8d,
-      -1.1511990258493999E-8d,
-      +1.177739474561431E-7d,
-      +8.738625278484571E-8d,
-      -1.0143341551207646E-7d,
-      +2.9394972678456236E-8d,
-      +4.278345398213486E-9d,
-      +6.28805835150457E-8d,
-      -3.197037359731606E-8d,
-      -4.060821046423735E-8d,
-      +3.82160283750664E-8d,
-      -3.2666060441373307E-8d,
-      -1.3584500601329896E-8d,
-      +9.671332777035621E-8d,
-      +6.10626893063691E-8d,
-      +1.1913723189736356E-7d,
-      +3.3774671482641995E-8d,
-      +4.4651109654500895E-8d,
-      -8.539328154875224E-8d,
-      -1.166799420361101E-7d,
-      -4.794765976694151E-8d,
-      -1.1635256954820579E-7d,
-      -8.221241452580445E-8d,
-      +5.5737717715868425E-8d,
-      +6.034539636024073E-8d,
-      -6.712199323081945E-8d,
-      -8.697724830833087E-8d,
-      +2.0494942705297694E-9d,
-      -3.718924074653624E-8d,
-      +3.499747150995707E-8d,
-      -1.8535359161566028E-8d,
-      +4.1905679587096103E-8d,
-      -2.0821912536551675E-8d,
-      +3.297776915751238E-8d,
-      -3.3835280846270374E-8d,
-      +1.8437339356553904E-8d,
-      -4.734187609526424E-8d,
-      +8.527976799299225E-9d,
-      -5.1088103279787804E-8d,
-      +1.3513294656751725E-8d,
-      -3.480032127343472E-8d,
-      +4.367697180842916E-8d,
-      +1.1815196363705356E-8d,
-      +1.0932279207149782E-7d,
-      +9.907230065250944E-8d,
-      -1.764389559496152E-8d,
-      -1.1135725625095859E-9d,
-      -8.846040040259342E-8d,
-      -3.996962588736431E-8d,
-      -9.276238757878814E-8d,
-      -7.12139818505956E-9d,
-      -2.016525972830718E-8d,
-      +1.0782585410141121E-7d,
-      -9.868269632073771E-8d,
-      +7.686861750031585E-8d,
-      -7.947087669425045E-8d,
-      -8.955768055535647E-8d,
-      +4.791582240886607E-8d,
-      +9.583994718167641E-8d,
-      +5.5524866689108584E-8d,
-      -7.171796605211277E-8d,
-      -4.6157237582310713E-8d,
-      -1.0489751005162237E-7d,
-      -8.204903560604627E-9d,
-      +6.818588687884566E-9d,
-      -5.850916105103205E-8d,
-      +3.5549586192569994E-8d,
-      +5.1896700056778354E-8d,
-      -8.146080588190463E-9d,
-      +9.516285362051742E-8d,
-      -1.1368933260611668E-7d,
-      +8.187871486648885E-8d,
-      -3.206182925646474E-8d,
-      +2.265440168347286E-8d,
-      +8.938334752179552E-9d,
-      -7.187922490287331E-8d,
-      +1.9952407216533937E-8d,
-      +4.734805892507655E-8d,
-      +1.1642439930208906E-8d,
-      -8.582843599651953E-8d,
-      -5.3086706437795354E-9d,
-      +1.6121782610217253E-8d,
-      -2.0197142620980974E-8d,
-      -1.129242035557684E-7d,
-      -2.2298267863810133E-8d,
-      +1.4605950309628873E-8d,
-      -8.663710700190489E-10d,
-      -6.736873974532501E-8d,
-      +5.486523121881414E-8d,
-      -1.0965249168570443E-7d,
-      -8.27343074126263E-8d,
-      -1.0144703278439455E-7d,
-      +7.39809943048038E-8d,
-      -3.193297932837415E-8d,
-      +5.900393284617182E-8d,
-      +1.0973020465397083E-7d,
-      -1.1681436418514489E-7d,
-      +9.5985669644661E-8d,
-      +3.423560333632085E-8d,
-      -6.22836197265283E-8d,
-      +4.621027492345726E-8d,
-      -1.1575484316683829E-7d,
-      -6.997545435826076E-8d,
-      -5.3502441327259514E-8d,
-      -6.49667713553005E-8d,
-      -1.029980741248172E-7d,
-      +7.219393868923887E-8d,
-      -1.4854841678687828E-8d,
-      +1.1406713393562271E-7d,
-      -1.650155887561251E-8d,
-      +7.165331603232264E-8d,
-      -9.692697614257269E-8d,
-      -4.402550702194912E-8d,
-      -6.679737442193143E-9d,
-      +1.6492800268960003E-8d,
-      +2.68759245092879E-8d,
-      +2.5854805721793077E-8d,
-      +1.4815967715704613E-8d,
-      -4.852711011229633E-9d,
-      -3.176199594915881E-8d,
-      -6.452129525125173E-8d,
-      -1.01738658407525E-7d,
-      +9.639780418418697E-8d,
-      +5.4445606140746644E-8d,
-      +1.2219361033150988E-8d,
-      -2.8883532688356087E-8d,
-      -6.746431126005811E-8d,
-      -1.0212284427080097E-7d,
-      +1.0696094577483825E-7d,
-      +8.43527683868743E-8d,
-      +6.987544103716777E-8d,
-      +6.493457409236137E-8d,
-      +7.093715125593688E-8d,
-      +8.929153091001965E-8d,
-      -1.1701113164306871E-7d,
-      -6.972256643013266E-8d,
-      -5.848862070736576E-9d,
-      +7.602385197610123E-8d,
-      -6.110775144284437E-8d,
-      +6.101012058093429E-8d,
-      -3.304167134225169E-8d,
-      -1.0342514383702196E-7d,
-      +8.969907328603505E-8d,
-      +7.091600108064668E-8d,
-      +8.006778743052707E-8d,
-      +1.1857939200074815E-7d,
-      -5.0541412403312774E-8d,
-      +5.0970277930552287E-8d,
-      -5.229355472795119E-8d,
-      +1.1793478462381443E-7d,
-      +8.625007227318527E-8d,
-      +9.250422086873268E-8d,
-      -1.0028661472061573E-7d,
-      -1.384914052949463E-8d,
-      +1.1483560326413004E-7d,
-      +4.878798101459259E-8d,
-      +2.7866921183936055E-8d,
-      +5.3514180410849046E-8d,
-      -1.1124565511436785E-7d,
-      +1.186914813275767E-8d,
-      -5.253258132241335E-8d,
-      -6.458486486369316E-8d,
-      -2.2838888809969377E-8d,
-      +7.415557606805398E-8d,
-      -1.0568403170659571E-8d,
-      -3.7139182948393606E-8d,
-      -4.1022790876160215E-9d,
-      +8.999821367768787E-8d,
-      +8.201043988912348E-9d,
-      -9.616457442665051E-9d,
-      +3.8005886250603055E-8d,
-      -8.588890051473289E-8d,
-      +9.699937202692456E-8d,
-      +1.11298006674538E-7d,
-      -4.1527104733570825E-8d,
-      +1.1682852007826251E-7d,
-      +1.1099648061301941E-7d,
-      -5.755303038890997E-8d,
-      +8.948877445235827E-8d,
-      +7.675780395028194E-8d,
-      -9.427143563390596E-8d,
-      +5.471416081500162E-8d,
-      +4.8354824064383506E-8d,
-      -1.118706134478866E-7d,
-      +5.235528379688445E-8d,
-      +6.567708120053687E-8d,
-      -7.042204992948526E-8d,
-      -1.1603891006723397E-7d,
-      -6.968742825553785E-8d,
-      +7.01199184127881E-8d,
-      +6.645352711199266E-8d,
-      -7.919617109348822E-8d,
-      +1.1149986927391714E-7d,
-      -7.522074418324674E-8d,
-      +7.739252980388984E-8d,
-      +9.39987974788905E-8d,
-      -2.390421480210064E-8d,
-      -3.639873824357815E-8d,
-      +5.8015881615938497E-8d,
-      +2.2423186335040668E-8d,
-      +9.674534330665206E-8d,
-      +4.4068830785712375E-8d,
-      +1.0431875573076199E-7d,
-      +4.0584538834428926E-8d,
-      +9.279423236781974E-8d,
-      +2.404020521381534E-8d,
-      +7.425346071427343E-8d,
-      +6.529321706138789E-9d,
-      +6.080174837146273E-8d,
-      +1.6902327633329284E-10d,
-      +6.456806922371733E-8d,
-      +1.7100134295216033E-8d,
-      +9.770510970673519E-8d,
-      +6.94872148530716E-8d,
-      -6.602926393514549E-8d,
-      -6.889997193778161E-8d,
-      +6.240235720677117E-8d,
-      +9.098790295810902E-8d,
-      +1.8386917534879182E-8d,
-      +8.454972737414241E-8d,
-      +5.259099728747365E-8d,
-      -7.595453077213505E-8d,
-      -6.113203624663034E-8d,
-      +9.859622328905143E-8d,
-      -7.206766550807255E-8d,
-      -9.474579567171831E-8d,
-      +3.210408693366267E-8d,
-      +7.160716418525417E-8d,
-      +2.530870537724554E-8d,
-      -1.0524451040704701E-7d,
-      -8.008561371849434E-8d,
-      +1.0233519853128553E-7d,
-      -3.326791455362767E-8d,
-      -8.504961764629757E-9d,
-      -6.024017201863256E-8d,
-      +5.1500902632092514E-8d,
-      +8.98570720774568E-8d,
-      +5.638724693948384E-8d,
-      -4.734813904255994E-8d,
-      +1.8631451577542948E-8d,
-      +1.7470924137873214E-8d,
-      -4.926470933588261E-8d,
-      +5.84096713620797E-8d,
-      +1.0364355880696472E-7d,
-      +8.800655674349468E-8d,
-      +1.3069802481237792E-8d,
-      +1.1882454749452428E-7d,
-      -6.999215748398631E-8d,
-      -7.49674072510849E-8d,
-      +1.054760847603618E-7d,
-      -3.920012014371067E-9d,
-      +7.526183084319617E-8d,
-      +1.0618494853096868E-7d,
-      +9.043280094115832E-8d,
-      +2.9590395068826316E-8d,
-      -7.475571347653619E-8d,
-      +1.7401160143611842E-8d,
-      +6.923209420670962E-8d,
-      +8.232829924979753E-8d,
-      +5.82825404854514E-8d,
-      -1.3108606792380822E-9d,
-      -9.485602512220194E-8d,
-      +1.7663064617118723E-8d,
-      +9.942682855652123E-8d,
-      -8.638275100090915E-8d,
-      -6.132639063569726E-8d,
-      -6.221897889344726E-8d,
-      -8.745525834919404E-8d,
-      +1.029901759234897E-7d,
-      +3.3888561478632076E-8d,
-      -5.47315553588771E-8d,
-      +7.715994473741065E-8d,
-      -4.566098167230033E-8d,
-      +5.5257514455273825E-8d,
-      -9.530545662611411E-8d,
-      -1.889488909834863E-8d,
-      +4.769006625301079E-8d,
-      +1.0607041998938709E-7d,
-      -8.054981263802322E-8d,
-      -3.370929373457322E-8d,
-      +9.799164177397836E-9d,
-      +5.160291611526656E-8d,
-      +9.333090708652975E-8d,
-      -1.0180490545927503E-7d,
-      -5.533523366931846E-8d,
-      -4.044932340334176E-9d,
-      +5.370131904567218E-8d,
-      -1.1887814032213867E-7d,
-      -4.3307634616102625E-8d,
-      +4.363437558318513E-8d,
-      -9.482896784430338E-8d,
-      +1.9782818312325887E-8d,
-      -8.77224935488516E-8d,
-      +6.113879253864931E-8d,
-      -8.822335132515693E-9d,
-      -5.753754066078771E-8d,
-      -8.335545536862392E-8d,
-      -8.462309712606694E-8d,
-      -5.968586877433824E-8d,
-      -6.887556547891059E-9d,
-      +7.542967150507818E-8d,
-      -4.949331199790077E-8d,
-      +9.684172421525468E-8d,
-      +3.9260317944365246E-8d,
-      +1.784536881359796E-8d,
-      +3.426282345243592E-8d,
-      +9.018025618601154E-8d,
-      -5.1151708476133135E-8d,
-      +8.877492215808044E-8d,
-      +3.479545684576179E-8d,
-      +2.7002575714977818E-8d,
-      +6.707201545505014E-8d,
-      -8.173742908533777E-8d,
-      +5.909041310777802E-8d,
-      +1.439903710393587E-8d,
-      +2.4289317341982113E-8d,
-      +9.044519282818302E-8d,
-      -2.3866331257845713E-8d,
-      -7.853944465095286E-8d,
-      -7.188526769607005E-8d,
-      -2.2132706360079843E-9d,
-      -1.0624985110080394E-7d,
-      +9.453598391231829E-8d,
-      -1.134160131581847E-7d,
-      -1.315295870404327E-8d,
-      -7.981320644583728E-8d,
-      -7.327771300038971E-8d,
-      +8.155647334672472E-9d,
-      -7.222791579580787E-8d,
-      -7.430436987497092E-8d,
-      +3.633404807819848E-9d,
-      -7.512438321498593E-8d,
-      -7.044869765481105E-8d,
-      +1.9372589859580955E-8d,
-      -4.2365298585101096E-8d,
-      -1.552830824758035E-8d,
-      +1.0160071259930585E-7d,
-      +7.232201430620959E-8d,
-      -1.0164389431039905E-7d,
-      +5.826233477413577E-8d,
-      +7.6927415825689E-8d,
-      -4.392309439525734E-8d,
-      -6.414337408955734E-8d,
-      +1.799550702470095E-8d,
-      -3.4194410638967946E-8d,
-      +1.9437762419688045E-8d,
-      -5.7792549966531335E-8d,
-      -2.5731071572354522E-8d,
-      +1.173595905705643E-7d,
-      -1.0361863127101014E-7d,
-      +2.8330789837569332E-8d,
-      +3.81131861433539E-8d,
-      -7.252724942149532E-8d,
-      -6.342604067787756E-8d,
-      +6.716441526213986E-8d,
-      +8.257484966196574E-8d,
-      -1.5443717968117592E-8d,
-      +1.3280021798948244E-8d,
-      -6.79180673261558E-8d,
-      -1.8863249269709046E-8d,
-      -7.62162303263991E-8d,
-      +2.011589233663723E-10d,
-      -2.62683511147141E-8d,
-      +8.455684903712996E-8d,
-      +9.602293320384794E-8d,
-      +9.896378545255258E-9d,
-      +6.636396724067746E-8d,
-      +2.8777050870552646E-8d,
-      -1.0109271059094341E-7d,
-      -8.305334708631055E-8d,
-      +8.467026501338835E-8d,
-      -7.29821745001452E-8d,
-      -7.739491336852633E-8d,
-      +7.321238022013781E-8d,
-      -9.621538067089515E-8d,
-      -1.0705722541811197E-7d,
-      +4.247240125405735E-8d,
-      +1.1574222007764044E-7d,
-      +1.145412771487496E-7d,
-      +4.066036653218687E-8d,
-      -1.0410796803072171E-7d,
-      -7.955085231106037E-8d,
-      +1.1612776191572459E-7d,
-      +7.888519481107568E-9d,
-      +7.436813814737735E-8d,
-      +7.894935661289349E-8d,
-      +2.343525263620692E-8d,
-      -9.036933434595339E-8d,
-      -2.2239222395888823E-8d,
-      -8.784622656707742E-9d,
-      -4.819540032304379E-8d,
-      +9.975892708522332E-8d,
-      -3.9945124955316294E-8d,
-      +1.1345047468988893E-8d,
-      +1.702808472925844E-8d,
-      -2.10770182066344E-8d,
-      -1.0114948914089626E-7d,
-      +1.70518021921727E-8d,
-      +9.693260855961159E-8d,
-      -9.809953482725758E-8d,
-      -8.937957126662392E-8d,
-      -1.134963954323427E-7d,
-      +6.980004387880031E-8d,
-      -1.4494150014095534E-8d,
-      +1.122932337832262E-7d,
-      -2.483811732227808E-8d,
-      +5.278759515330048E-8d,
-      +1.0859222881334994E-7d,
-      -9.400056055939758E-8d,
-      -7.630957994128623E-8d,
-      -7.490757191850264E-8d,
-      -8.794689652049879E-8d,
-      -1.1357810855950775E-7d,
-      +8.846862323478745E-8d,
-      +4.32092015744956E-8d,
-      -9.082923009890997E-9d,
-      -6.655106680680314E-8d,
-      +1.1108184705020206E-7d,
-      +4.8838973948592766E-8d,
-      -1.2998975819628988E-8d,
-      -7.25680516883106E-8d,
-      -1.280024819379844E-7d,
-      -1.7743467191652895E-7d,
-      -2.1899520225809197E-7d,
-      +2.2602433110285232E-7d,
-      +2.0582268590356215E-7d,
-      +1.9911192455808124E-7d,
-      +2.0776878313278689E-7d,
-      +2.3367183133931002E-7d,
-      -1.9813568387704588E-7d,
-      -1.320972037315105E-7d,
-      -4.316580502355056E-8d,
-      +7.054443447243064E-8d,
-      +2.109212796025238E-7d,
-      -9.698281856949837E-8d,
-      +1.0239791185239086E-7d,
-      -1.4271754202157014E-7d,
-      +1.232402895636637E-7d,
-      -5.150590480969644E-8d,
-      -1.882201085012735E-7d,
-      +1.918355503889933E-7d,
-      +1.368893262241355E-7d,
-      +1.256828068633383E-7d,
-      +1.601222826656464E-7d,
-      -2.3472125169205568E-7d,
-      -1.032634625827871E-7d,
-      +7.957037517331382E-8d,
-      -1.6114314525832115E-7d,
-      +1.3018591370778052E-7d,
-      +1.8007284821359149E-9d,
-      -6.75421764491544E-8d,
-      -7.592155950645605E-8d,
-      -2.1414301981236817E-8d,
-      +9.79045937979623E-8d,
-      -1.9287515190177685E-7d,
-      +6.184953843236509E-8d,
-      -8.966500602352001E-8d,
-      -1.686490951669855E-7d,
-      -1.7316830893872364E-7d,
-      -1.0128633727463388E-7d,
-      +4.8935021740786486E-8d,
-      -1.9740129448026905E-7d,
-      +1.1532102163380318E-7d,
-      +3.5371542244169364E-8d,
-      +4.153321337726989E-8d,
-      +1.3575372396796738E-7d,
-      -1.5685449228299222E-7d,
-      +1.1933437776279623E-7d,
-      +1.2599421120614435E-8d,
-      +1.7331079674066365E-9d,
-      +8.869266069401045E-8d,
-      -2.013999442282902E-7d,
-      +8.709065843311144E-8d,
-      +2.453117120472083E-9d,
-      +2.3489472779602617E-8d,
-      +1.5216652792122652E-7d,
-      -8.638415150333099E-8d,
-      -2.1335475961524608E-7d,
-      -2.2677272333821516E-7d,
-      -1.246635423141374E-7d,
-      +9.494921297991565E-8d,
-      -4.27932550865546E-8d,
-      -5.907349480138712E-8d,
-      +4.809072216941908E-8d,
-      -1.9615359732789476E-7d,
-      +1.6385396676990034E-7d,
-      +1.7642714221524228E-7d,
-      -1.564440844355254E-7d,
-      +1.2090653407564583E-7d,
-      +5.679855838941285E-8d,
-      +1.3006497185242537E-7d,
-      -1.341336085949317E-7d,
-      +2.1987686050231372E-7d,
-      -2.3641341460419062E-7d,
-      -7.048932272279454E-8d,
-      -2.3401958604540354E-7d,
-      +2.2867766559333004E-7d,
-      -1.1089952719756529E-7d,
-      +1.7977178878541792E-7d,
-      +1.4903074102418675E-7d,
-      -2.011072593789072E-7d,
-      +8.504948422097802E-8d,
-      +5.5846006716348844E-8d,
-      +1.9014079059505456E-7d,
-      +1.3119976852347583E-8d,
-      +3.645999732952202E-9d,
-      +1.6374611405314333E-7d,
-      +1.8612397134087598E-8d,
-      +4.7113225346448296E-8d,
-      -2.2555535676499395E-7d,
-      +1.5631615647329739E-7d,
-      -2.3574653182047758E-7d,
-      +3.08072210937242E-8d,
-      +4.344259288116142E-9d,
-      +1.6374489573868447E-7d,
-      +3.42171232580676E-8d,
-      +9.46452492584643E-8d,
-      -1.297587351085525E-7d,
-      -1.601065201853145E-7d,
-      +5.6550495386976275E-9d,
-      -1.0725602261510391E-7d,
-      -1.9945408945084193E-8d,
-      -2.071910882200156E-7d,
-      -1.900947109027913E-7d,
-      +3.34069282059055E-8d,
-      -1.145810806477298E-8d,
-      +1.5421457732308477E-7d,
-      +5.5657084775121975E-8d,
-      +1.7177785285061278E-7d,
-      +2.7813027425289027E-8d,
-      +1.0267509648109748E-7d,
-      -7.839574072711142E-8d,
-      -3.648293887796095E-8d,
-      +2.3049492079013518E-7d,
-      -2.290530257391564E-7d,
-      +1.747018414872141E-8d,
-      +1.8477759656842807E-8d,
-      -2.2394073401050633E-7d,
-      -2.3085653185818848E-7d,
-      -1.7598351175286083E-10d,
-      -6.640551220774385E-9d,
-      +2.2868466674913266E-7d,
-      +2.3106230530437902E-7d,
-      +2.594209135294356E-9d,
-      +2.2221434720602702E-8d,
-      -1.847872222755186E-7d,
-      -1.3948659218254467E-7d,
-      +1.6023339607737848E-7d,
-      -2.3718944120137026E-7d,
-      +1.0087056692827474E-7d,
-      +2.228553660510707E-7d,
-      +1.3088328582956644E-7d,
-      -1.7292527438195104E-7d,
-      -2.0961068531216087E-7d,
-      +2.2951597845188004E-8d,
-      +5.005103745740068E-8d,
-      -1.2618366811281002E-7d,
-      -2.6784582477238417E-8d,
-      -1.2645600379949252E-7d,
-      +5.3774170051560117E-8d,
-      +3.9205810725333715E-8d,
-      -1.6802196396307013E-7d,
-      -8.893078799284047E-8d,
-      -1.9821451970481713E-7d,
-      -1.689060694498032E-8d,
-      -1.9648717830943396E-8d,
-      -2.0433926409457167E-7d,
-      -9.1973399031975E-8d,
-      -1.5723449006087263E-7d,
-      +7.887051614592191E-8d,
-      +1.4166246290402286E-7d,
-      +3.330146018487787E-8d,
-      +2.3278688667580978E-7d,
-      -2.1139124097042925E-7d,
-      +1.334449995534113E-7d,
-      -1.6104730195920897E-7d,
-      -1.3902314592614197E-7d,
-      +2.0169027167169864E-7d,
-      -9.040643863751471E-8d,
-      -5.946190852360168E-8d,
-      -1.8013411720005014E-7d,
-      +2.6595401669835947E-8d,
-      +8.607292924069425E-8d,
-      +4.84038176769263E-10d,
-      -2.2798356346688802E-7d,
-      -1.203028719549339E-7d,
-      -1.5111906039270745E-7d,
-      +1.5859915617670956E-7d,
-      -1.426262681506497E-7d,
-      -9.892260062323546E-8d,
-      -1.8492643515928268E-7d,
-      +7.840210076743552E-8d,
-      +2.1643071541578027E-7d,
-      +2.313664294893465E-7d,
... 5135 lines suppressed ...