apfloat
apfloat copied to clipboard
Apfloat is a high performance arbitrary precision arithmetic library.
I'd like to bring forth the aforementioned methods as convenience wrappers for the rather unwieldy and space-consuming `compareTo()`. Since we already have convenience methods `min()` and `max()` I can also...
Is the "generalized Riemann zeta function" `zeta(s,a)` also implemented? The generalized Riemann zeta function is identical to the hurwitz zeta function for `Re(a)>0` for `Re(a)
An `UnderflowException` should be thrown instead of a `OverflowException`? Example: ```mma N(Erfc(100000000000000000000000000000000035/2*1/Sqrt(2)),30) ```
Example: ``` hypergeometricU(3.0, 1.0, 0.0); ``` Should return `Infinity` Can we have some special values for this case or a specialized exception? Same for "ArithmeticException" with "Division by zero" text?
Is the `hypergeometricPFQ` method also already available for calls from outside `apfloat` library? - https://github.com/mtommila/apfloat/blob/6e3088cd70dcc873e6df004f9646702570f24626/apfloat/src/main/java/org/apfloat/HypergeometricHelper.java#L447 `HypergeometricHelper` is package private.
Can you please add support for Mathematica input syntax: - https://reference.wolfram.com/language/tutorial/InputSyntax.html#7977 maybe not as constructor like here to avoid incompatibilties: - https://github.com/mtommila/apfloat/blob/ca0384d4deb8e88c4d10bb8984fa45cfddda7e1b/apfloat/src/main/java/org/apfloat/Apfloat.java#L116 but in a static "valueOf...()" method?
For `ApfloatRuntimeException` based exceptions can we please have a `Localizable` interface to define all the exception messages? See the example in the Hipparchus repo: - https://github.com/Hipparchus-Math/hipparchus/blob/master/hipparchus-core/src/main/java/org/hipparchus/exception/LocalizedCoreFormats.java By comparing the `getSpecifier()`...
```java // x86_64 JDK8 = 1.0000030588238054 System.out.println(Math.pow(1.0061363892207218, 0.0005)); // x86_64 JDK8 = 1.0094329734828904 System.out.println(Math.pow(1.0000046943914231, 2000)); // 1.0000030588238051 System.out.println(StrictMath.pow(1.0061363892207218, 0.0005)); // 1.0094329734828902 System.out.println(StrictMath.pow(1.0000046943914231, 2000)); // 1.0000030588238051 System.out.println(ApfloatMath.pow(new Apfloat(1.0061363892207218, 80), new Apfloat(0.0005,...