LongCalc 0.4.1

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.1
dotnet add package LongCalc --version 0.4.1
<PackageReference Include="LongCalc" Version="0.4.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LongCalc --version 0.4.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Unsigned Assembly

With this version, the bf 'twoexp' parameter has been made of type 'mpz_t'. x.Exp will return results for x less or equal 1.e+1035 and a restriction on x.Exp that x be no more than 1.0e+1035 has been implemented. x.Gamma will return results for x less or equal 1.e+1031.

There is a new x.toString function with a parameter which permits to 'Prettify' the output's exponent.

Public function outputs for this version as well as 0.3.23.0 are Truncate'd to 4 decimal digits + the applicable Precision. This is essentially 2 base 64 digits' worth, and permits more reliable rounding in the .toString and .Round functions.

Although the magnitude of possible outputs from various functions in this version, as well as the flexibility of the mpz_t twoexp, might lead one to believe that nearly any supported operation is possible with this version, such is not the case. For example, users will likely have to check their inputs for any use of the bf x.Add or x.Subtract functions. This version provides no such checks. An attempt like (for x = 1.0e+1035) 'x.Exp().Add(1)' is not trivial since performing the Add function would require one addend's shift by a garagantuan amount, an operation beyond the scope of most computers and likely the software as well, even if the addend's mantissa is relatively short. The likely outcome is for the computer to exhaust all available memory and/or cache space before bringing that machine to an impasse.

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 236 7/29/2019
0.4.12 241 6/15/2019
0.4.11 250 6/10/2019
0.4.10 253 5/13/2019
0.4.9 284 4/15/2019
0.4.8 274 4/7/2019
0.4.7 270 3/23/2019
0.4.6 274 3/4/2019
0.4.5 282 3/4/2019
0.4.4 281 2/10/2019
0.4.3 302 1/30/2019
0.4.2 296 1/29/2019
0.4.1 301 1/29/2019
0.3.25 264 3/25/2019
0.3.24 265 3/4/2019
0.3.23 315 1/25/2019
0.3.22 320 1/23/2019
0.3.21 345 1/12/2019
0.3.20 353 1/4/2019
0.3.19 312 1/3/2019
0.3.18 322 12/30/2018
0.1.25 269 3/25/2019
0.1.24 278 3/4/2019
0.1.23 383 1/12/2019
0.1.22 320 12/24/2018
0.1.21 584 4/20/2018
0.1.16 479 9/2/2017
0.1.15 455 8/23/2017
0.1.11 413 8/4/2017
0.1.10 457 8/1/2017
0.1.8 410 7/27/2017
0.1.7 433 6/14/2017
0.1.6 428 6/14/2017
0.1.5 481 6/10/2017
0.1.2 641 11/22/2016
0.1.1 495 11/12/2016
Show less