LongCalc 0.3.7

LongCalc Arbitrary Precision Float and Complex Number Library

LongCalc Arbitrary Precision Float and Complex Number Library

Install-Package LongCalc -Version 0.3.7
dotnet add package LongCalc --version 0.3.7
paket add LongCalc --version 0.3.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Unsigned Assembly

Addressed a problem in which some functions returned values to a precision less than requested. Examples: x.Tan for x near 0; x.Log for x near 1 (other people's software seems to have this same problem). The x.Log inaccuracy had an impact on several other functions. x.Zeta function should now agree with bf.Zeta(...) and both should be accurate to the Precision place, except possibly x.Zeta when x has a very large imaginary part.

New bf variables created from string inputs now have their implicitly or explicitly requested Precisions padded to an extra Math.Ceiling(Math.Log10(Precision)) + 4 digits.

Corrected a problem in which some complex-valued functions did not return the generally-accepted Principal Value for the function.

Corrected a problem in which an error like 'Attempt to write to protected memory' occurred when performing calculations with precision setting in excess of a few million decimal digits.

Corrected a problem in which the .toString functions did not always properly round output to the requested Precision decimal place. Added new functions x.Round(uint _base, long Precision) which round x away from zero (half or more) at the Precision place when using output base _base.

Outputs of public functions in which a Precision setting is either implicitly or explicitly required now are .Truncate'd to the Precision place. The output will have Precision + 1 decimal digits to allow for rounding to the Precision place.

Added and implemented a bf Factorial(ulong N) function which returns a bf variable equal to N! a bit faster than the corresponding Mpir.Net function.

Revised the x.Gamma functions such that if the Precision setting requested is less than or equal 2000 new Spouge constants are calculated rather than overwriting any Spouge constants cached in a previous x.Gamma calculation with precision > 2000. This allows for overall faster calculations when performing repeated x.Gamma calculations at the same Precision > 2000.

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

Version History

Version Downloads Last updated
0.3.7 32 10/14/2018
0.3.6 49 9/23/2018
0.3.5 43 9/22/2018
0.3.4 39 9/21/2018
0.3.3 38 9/21/2018
0.3.2 37 9/20/2018
0.3.1 41 9/18/2018
0.3.0 44 9/11/2018
0.1.21 201 4/20/2018
0.1.16 151 9/2/2017
0.1.15 121 8/23/2017
0.1.11 111 8/4/2017
0.1.10 135 8/1/2017
0.1.8 112 7/27/2017
0.1.7 131 6/14/2017
0.1.6 120 6/14/2017
0.1.5 160 6/10/2017
0.1.2 254 11/22/2016
0.1.1 160 11/12/2016