TYoshimura.DoubleDouble
1.7.0
See the version list below for details.
dotnet add package TYoshimura.DoubleDouble --version 1.7.0
NuGet\Install-Package TYoshimura.DoubleDouble -Version 1.7.0
<PackageReference Include="TYoshimura.DoubleDouble" Version="1.7.0" />
<PackageVersion Include="TYoshimura.DoubleDouble" Version="1.7.0" />
<PackageReference Include="TYoshimura.DoubleDouble" />
paket add TYoshimura.DoubleDouble --version 1.7.0
#r "nuget: TYoshimura.DoubleDouble, 1.7.0"
#:package TYoshimura.DoubleDouble@1.7.0
#addin nuget:?package=TYoshimura.DoubleDouble&version=1.7.0
#tool nuget:?package=TYoshimura.DoubleDouble&version=1.7.0
DoubleDouble
double-double arithmetic implements
Requirement
.NET 5.0
Install
- To install, just import the DLL.
- This library does not change the environment at all.
More Precision ?
Types
| type | mantissa bits | significant digits |
|---|---|---|
| ddouble | 104 | 30 |
Functions
| function | domain | mantissa error bits | note | usage |
|---|---|---|---|---|
| sqrt | [0,+inf) | 2 | ddouble.Sqrt(x) | |
| cbrt | (-inf,+inf) | 2 | ddouble.Cbrt(x) | |
| log2 | (0,+inf) | 2 | ddouble.Log2(x) | |
| log | (0,+inf) | 3 | ddouble.Log(x) | |
| log10 | (0,+inf) | 3 | ddouble.Log10(x) | |
| log1p | (-1,+inf) | 3 | log(1+x) | ddouble.Log1p(x) |
| pow2 | (-inf,+inf) | 1 | ddouble.Pow2(x) | |
| pow | (-inf,+inf) | 4 | ddouble.Pow(x, y) | |
| pow10 | (-inf,+inf) | 4 | ddouble.Pow10(x) | |
| exp | (-inf,+inf) | 4 | ddouble.Exp(x) | |
| expm1 | (-inf,+inf) | 4 | exp(x)-1 | ddouble.Expm1(x) |
| sin | (-inf,+inf) | 2 | ddouble.Sin(x) | |
| cos | (-inf,+inf) | 2 | ddouble.Cos(x) | |
| tan | (-inf,+inf) | 3 | ddouble.Tan(x) | |
| sinpi | (-inf,+inf) | 1 | sin(πx) | ddouble.SinPI(x) |
| cospi | (-inf,+inf) | 1 | cos(πx) | ddouble.CosPI(x) |
| tanpi | (-inf,+inf) | 2 | tan(πx) | ddouble.TanPI(x) |
| sinh | (-inf,+inf) | 2 | ddouble.Sinh(x) | |
| cosh | (-inf,+inf) | 2 | ddouble.Cosh(x) | |
| tanh | (-inf,+inf) | 2 | ddouble.Tanh(x) | |
| asin | [-1,1] | 2 | Accuracy deteriorates near x=-1,1. | ddouble.Asin(x) |
| acos | [-1,1] | 2 | Accuracy deteriorates near x=-1,1. | ddouble.Acos(x) |
| atan | (-inf,+inf) | 2 | ddouble.Atan(x) | |
| atan2 | (-inf,+inf) | 2 | ddouble.Atan2(y, x) | |
| arsinh | (-inf,+inf) | 2 | ddouble.Arsinh(x) | |
| arcosh | [1,+inf) | 2 | ddouble.Arcosh(x) | |
| artanh | (-1,1) | 4 | Accuracy deteriorates near x=-1,1. | ddouble.Artanh(x) |
| gamma | (-inf,+inf) | 5 | Accuracy deteriorates near non-positive intergers. <br/> If x is Natual number lass than 35, an exact integer value is returned. | ddouble.Gamma(x) |
| loggamma | (0,+inf) | 5 | Near the positive zero point, polynomial interpolation is used. | ddouble.LogGamma(x) |
| digamma | (-inf,+inf) | 5 | Near the positive zero point, polynomial interpolation is used. | ddouble.Digamma(x) |
| erf | (-inf,+inf) | 5 | ddouble.Erf(x) | |
| erfc | (-inf,+inf) | 5 | ddouble.Erfc(x) | |
| inverse_erf | (-1,1) | 8 | ddouble.InverseErf(x) | |
| inverse_erfc | (0,2) | 8 | ddouble.InverseErfc(x) | |
| bessel_j | [0,+inf) | 16 | Accuracy deteriorates near zero points.<br/>abs(nu) ≤ 8 | ddouble.BesselJ(nu, x) |
| bessel_y | [0,+inf) | 16 | Accuracy deteriorates near zero points.<br/>abs(nu) ≤ 8 | ddouble.BesselY(nu, x) |
| bessel_i | [0,+inf) | 16 | abs(nu) ≤ 8 | ddouble.BesselI(nu, x) |
| bessel_k | [0,+inf) | 16 | abs(nu) ≤ 8 | ddouble.BesselK(nu, x) |
| elliptic_k | [0,1] | 1 | ddouble.EllipticK(k) | |
| elliptic_e | [0,1] | 1 | ddouble.EllipticE(k) | |
| elliptic_pi | [0,1] | 1 | ddouble.EllipticPi(n, k) | |
| fresnel_c | (-inf,+inf) | 8 | ddouble.FresnelC(x) | |
| fresnel_s | (-inf,+inf) | 8 | ddouble.FresnelS(x) | |
| ei | (-inf,+inf) | 8 | exponential integral | ddouble.Ei(x) |
| li | [0,+inf) | 10 | logarithmic integral li(x)=ei(log(x)) | ddouble.Li(x) |
| lambertw | [-1/e,+inf) | 8 | ddouble.LambertW(x) | |
| airy_ai | (-inf,+inf) | 10 | Accuracy deteriorates near zero points. | ddouble.AiryAi(x) |
| airy_bi | (-inf,+inf) | 10 | Accuracy deteriorates near zero points. | ddouble.AiryBi(x) |
| ldexp | (-inf,+inf) | N/A | ddouble.Ldexp(x, y) | |
| min | N/A | N/A | ddouble.Min(x, y) | |
| max | N/A | N/A | ddouble.Max(x, y) | |
| floor | N/A | N/A | ddouble.Floor(x) | |
| ceiling | N/A | N/A | ddouble.Ceiling(x) | |
| round | N/A | N/A | ddouble.Round(x) | |
| truncate | N/A | N/A | ddouble.Truncate(x) | |
| array sum | N/A | N/A | IEnumerable<ddouble>.Sum() | |
| array average | N/A | N/A | IEnumerable<ddouble>.Average() | |
| array min | N/A | N/A | IEnumerable<ddouble>.Min() | |
| array max | N/A | N/A | IEnumerable<ddouble>.Max() |
Constants
| constant | value | note | usage |
|---|---|---|---|
| Pi | 3.141592653589793238462... | ddouble.PI | |
| Napier's E | 2.718281828459045235360... | ddouble.E | |
| Euler's Gamma | 0.577215664901532860606... | ddouble.EulerGamma | |
| ζ(3) | 1.202056903159594285399... | Apery const. | ddouble.Zeta3 |
| ζ(5) | 1.036927755143369926331... | ddouble.Zeta5 | |
| ζ(7) | 1.008349277381922826839... | ddouble.Zeta7 | |
| ζ(9) | 1.002008392826082214418... | ddouble.Zeta9 |
Sequence
| sequence | note | usage |
|---|---|---|
| Taylor | 1/n! | ddouble.TaylorSequence |
| Bernoulli | B(2k) | ddouble.BernoulliSequence |
| HarmonicNumber | H_n | ddouble.HarmonicNumber |
Casts
long (accurately)
ddouble v0 = 123;
long n0 = (long)v0;
double (accurately)
ddouble v1 = 0.5;
double n1 = (double)v1;
decimal (approximately)
ddouble v1 = 0.1m;
decimal n1 = (decimal)v1;
string (approximately)
ddouble v2 = "3.14e0";
string s0 = v2.ToString();
string s1 = v2.ToString("E8");
string s2 = $"{v2:E8}";
I/O
BinaryWriter, BinaryReader
Licence
Author
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 is compatible. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net5.0
- No dependencies.
NuGet packages (13)
Showing the top 5 NuGet packages that depend on TYoshimura.DoubleDouble:
| Package | Downloads |
|---|---|
|
TYoshimura.Algebra
Linear Algebra |
|
|
TYoshimura.DoubleDouble.Complex
Double-Double Complex and Quaternion Implements |
|
|
TYoshimura.DoubleDouble.Statistic
Double-Double Statistic Implements |
|
|
TYoshimura.CurveFitting
Curvefitting - linear, polynomial, pade, arbitrary function |
|
|
TYoshimura.DoubleDouble.Integrate
Double-Double Numerical Integration Implements |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 5.0.7 | 112 | 3/10/2026 |
| 5.0.6 | 127 | 2/1/2026 |
| 5.0.5 | 126 | 2/1/2026 |
| 5.0.4 | 158 | 1/16/2026 |
| 5.0.3 | 128 | 1/16/2026 |
| 5.0.2 | 243 | 12/25/2025 |
| 5.0.1 | 294 | 12/6/2025 |
| 5.0.0 | 189 | 12/6/2025 |
| 4.2.6 | 453 | 11/22/2024 |
| 4.2.5 | 320 | 11/22/2024 |
| 4.2.4 | 286 | 11/21/2024 |
| 4.2.3 | 323 | 11/18/2024 |
| 4.2.2 | 352 | 11/17/2024 |
| 4.2.1 | 492 | 11/14/2024 |
| 4.2.0 | 317 | 11/13/2024 |
| 4.1.0 | 343 | 11/13/2024 |
| 4.0.3 | 298 | 11/8/2024 |
| 4.0.2 | 816 | 11/7/2024 |
| 4.0.1 | 386 | 11/1/2024 |
| 1.7.0 | 871 | 1/3/2022 |
+ fresnel integral