LongCalc Arbitrary Precision Float and Complex Number Library
Install-Package LongCalc -Version 0.5.6
dotnet add package LongCalc --version 0.5.6
<PackageReference Include="LongCalc" Version="0.5.6" />
paket add LongCalc --version 0.5.6
Fixed a problem in the previous version with x.ToFile in which no more than 100,000,000 digits were written to the file, regardless of the precision requested.
Also, an additional, optional parameter was added to x.toString and x.ToFile for a bf object 'x' and to bf object creation from a string or file to allow the exponent part of the scientific-notation string or file text to be encoded in the same base as that of the mantissa part. Previously the exponent had always been in base 10 digits regardless of the base used to represent the mantissa.
A number of bugs in the new bd object routines were found and fixed. Also, several new functions were added and some existing ones enhanced. bd objects can now be exported to/imported from files much like bf objects. Log2(x) and Log10(x) static functions were added. x.Square and x.Truncate were added. In the x.toString and x.ToFile functions, an optional 'Prettify' parameter was added. (Many people might wonder why anyone would deliberately insert a lot of whitespace into numeric text. In the past, however, I have found that doing so causes loading such text into VisualStudio text boxes to happen more quickly.)
This version also enhances the XML documentation and that documentation might now provide some useful information.
Checks for arithmetic overflow or underflow are again compiler-included in this release.
- Mpir.NET (>= 0.4.0)
This package is not used by any popular GitHub repositories.