LongCalc 0.4.7

LongCalc Arbitrary Precision Float and Complex Number Library

There is a newer version of this package available.
See the version list below for details.
Install-Package LongCalc -Version 0.4.7
dotnet add package LongCalc --version 0.4.7
<PackageReference Include="LongCalc" Version="0.4.7" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LongCalc --version 0.4.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Unsigned Assembly

Revisited the decision to implement x.Add(y, Precision) for all occurrances of x.Add:
That decision was ill-advised. For most occurrances of x.Add within the code, no truncation would occur anyway, and the function x.Add is less efficient with the Precision parameter than is the precise x.Add without the Precision parameter. For these situations, the precise x.Add without the Precision parameter is used.
For other situations (such as the hyperbolic functions) x.Add(1, Precision) is used to permit a calculation in which there is some confidence in the results returned, even for very large x.
However, for the situation of the inverse hyperbolic functions, use of x.Add(1, Precision) returned inaccurate results for very large x, and the use of x.Add(1) would have brought most machines to an impasse if x were very large.
In this version 0.4.7, a third variation of x.Add (internal use only) is employed in which the precise Add would occur if no truncation were needed and an error is thrown in those cases where the use of x.Add(1) would otherwise result in an impasse.
This third version is employed where appropriate in the inverse hyperbolic functions, Gamma, and Zeta.

Also in this version, the x.NormalizeAngle function is permitted to error-out if x is very large. This handles the situation of inaccurate results which were returned for large real x or complex-valued hyperbolic functions in which x.imaginary was very large.

Also in this version, there is a return to an earlier approach for x.Sin, x.Cos, x.Tan which was more efficient than that used in earlier versions 0.4.x.

Also in this version, there is a return to an approach for x.ArcTan which existed as early as version 0.1.5 and was rather more efficient than the corrupted code that occurred in later versions, especially for larger Precision.

There are also some other simple changes to improve the efficiency of functions x.toString, x.Round, x.Zeta, x.Euler, x.Bernoulli, x.Exp, and the trigonometric functions. Changes in which there is confidence.

Also some other simple changes to address possible inaccuracies in the hyperbolic functions, among others. Changes in which there is confidence.

Checks for arithmetic overflow or underflow are again compiler-included in this release.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.5.1 237 7/29/2019
0.4.12 242 6/15/2019
0.4.11 251 6/10/2019
0.4.10 254 5/13/2019
0.4.9 285 4/15/2019
0.4.8 275 4/7/2019
0.4.7 271 3/23/2019
0.4.6 275 3/4/2019
0.4.5 283 3/4/2019
0.4.4 282 2/10/2019
0.4.3 303 1/30/2019
0.4.2 297 1/29/2019
0.4.1 302 1/29/2019
0.3.25 265 3/25/2019
0.3.24 266 3/4/2019
0.3.23 316 1/25/2019
0.3.22 321 1/23/2019
0.3.21 347 1/12/2019
0.3.20 354 1/4/2019
0.3.19 313 1/3/2019
0.3.18 323 12/30/2018
0.1.25 270 3/25/2019
0.1.24 280 3/4/2019
0.1.23 384 1/12/2019
0.1.22 322 12/24/2018
0.1.21 585 4/20/2018
0.1.16 480 9/2/2017
0.1.15 456 8/23/2017
0.1.11 414 8/4/2017
0.1.10 458 8/1/2017
0.1.8 411 7/27/2017
0.1.7 434 6/14/2017
0.1.6 429 6/14/2017
0.1.5 482 6/10/2017
0.1.2 642 11/22/2016
0.1.1 496 11/12/2016
Show less