LongCalc 0.5.34

There is a newer version of this package available.
See the version list below for details.
dotnet add package LongCalc --version 0.5.34                
NuGet\Install-Package LongCalc -Version 0.5.34                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LongCalc" Version="0.5.34" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LongCalc --version 0.5.34                
#r "nuget: LongCalc, 0.5.34"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install LongCalc as a Cake Addin
#addin nuget:?package=LongCalc&version=0.5.34

// Install LongCalc as a Cake Tool
#tool nuget:?package=LongCalc&version=0.5.34                

This library, built with and accessible by Visual Studio (2021) and using Mpir.NET for the underlying integer math and requiring .NetFramework4.5, supplies a variety of math functions and utilities with precisions as large as 2,000,000 base 10 digits when running in x86 mode and much larger in x64 mode. The underlying objects are bf (for 'big float') real values comprised of an mpz_t extended integer part from Mpir.NET and a base 2 exponent, bcr (for complex numbers expressed in the rectangular coordinates) comprised of a bf real part and a bf imaginary part, and bcp (for complex numbers expressed in the polar coordinates) comprised of a bf radius and a bf angle). Functions supported include real and complex versions of: basic arithmetic, trigonometric functions, log and exponential functions, hyperbolic functions and the inverses of all of these, base conversions between bases up to 64, conversions between rectangular and polar coordinates, and some special functions such as Euler, Bernoulli, Gamma, Zeta, and BesselJ. The library also includes a 'bd' (for bigdecimal) object with fractional base 10 digits up to 20686000000. Matrix algebra is also supported for matrices of bf, bd, or bcr elements. Use of the included Windows app LongCalcDemoApp.exe function assumes that the files LongCalcDemoApp.exe, LongCalc.dll, Mpir.NET.dll, xmpir32.dll, xmpir64.dll reside in a common folder/directory. LongCalc depends on package Mpir.NET and .Net framework 4.5.

Product Compatible and additional computed target framework versions.
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.5.36 126 9/30/2024
0.5.35 120 8/28/2024
0.5.34 1,116 2/10/2023
0.5.33 1,153 12/28/2021
0.5.32 1,232 10/2/2021
0.5.31 1,080 8/1/2021
0.5.30 1,103 3/25/2021
0.5.29 1,269 10/15/2020
0.5.28 1,198 9/24/2020
0.5.27 1,245 9/18/2020
0.5.26 1,354 9/17/2020 0.5.26 is deprecated because it has critical bugs.
0.5.25 1,253 9/6/2020
0.5.24 1,193 8/25/2020
0.5.23 1,251 8/5/2020
0.5.22 1,633 7/31/2020
0.5.21 1,644 7/30/2020
0.5.20 1,254 7/29/2020
0.5.19 1,246 7/28/2020
0.5.18 1,283 5/22/2020
0.5.17 1,250 5/19/2020
0.5.16 1,296 5/17/2020
0.5.15 1,283 5/17/2020
0.5.14 1,283 5/11/2020
0.5.13 1,377 5/3/2020
0.5.12 1,376 4/4/2020
0.5.11 1,249 3/31/2020
0.5.10 1,298 2/13/2020
0.5.9 1,349 2/8/2020
0.5.8 1,310 2/5/2020
0.5.7 1,422 1/21/2020
0.5.6 1,309 11/27/2019
0.5.5 1,289 11/16/2019
0.5.4 1,273 11/7/2019
0.5.3 1,303 11/2/2019
0.5.2 1,313 10/21/2019
0.5.1 1,522 7/29/2019
0.4.12 1,518 6/15/2019
0.4.11 1,513 6/10/2019
0.4.10 1,540 5/13/2019
0.4.9 1,625 4/15/2019
0.4.8 1,496 4/7/2019
0.4.7 1,517 3/23/2019
0.4.6 1,499 3/4/2019
0.4.5 1,543 3/4/2019
0.4.4 1,612 2/10/2019
0.4.3 1,823 1/30/2019
0.4.2 1,776 1/29/2019
0.4.1 1,796 1/29/2019
0.3.25 1,527 3/25/2019
0.3.24 1,518 3/4/2019
0.3.23 1,785 1/25/2019
0.3.22 1,836 1/23/2019
0.3.21 1,873 1/12/2019
0.3.20 1,829 1/4/2019
0.3.19 1,811 1/3/2019
0.3.18 1,819 12/30/2018
0.1.25 1,546 3/25/2019
0.1.24 1,541 3/4/2019
0.1.23 1,876 1/12/2019
0.1.22 1,797 12/24/2018
0.1.21 2,098 4/20/2018
0.1.16 1,957 9/2/2017
0.1.15 1,921 8/23/2017
0.1.11 1,827 8/4/2017
0.1.10 1,945 8/1/2017
0.1.8 1,833 7/27/2017
0.1.7 1,886 6/14/2017
0.1.6 1,919 6/14/2017
0.1.5 1,947 6/10/2017
0.1.2 2,201 11/22/2016
0.1.1 1,906 11/12/2016

Unsigned Assembly

Corrected a long-standing problem in the initialization of a bf object from a string (new bf(double x)) in which
the precision of output was always 20 decimal digits rather than the expected precision of
bf.GlobalPrecision + bf.Threshold. This problem could be avoided in earlier versions of this software by first
converting the input to a string, such as in: double x = 3.14; bf x2 = new bf("3.14");
or: double x = 3.14; bf x2 = new bf(x.ToString());

In the trigonometric functions, the exact value is now returned for the function evaluated exactly at some frequently-used angles measured in degrees or gradians.
As an example, if x is equal to exactly 30 degrees, x.Sin(Precision, AngleType.Degrees) now returns bf(1, -1) (or .5) exactly.

In the functions to initialize a bf value from a file (ie: bf(uint _base, string FilePath, long Base10Precision)) an exact value is now returned if the mantissa in the file text is encoded in a _base which is a power of 2.
This feature already existed when initializing a bf value from a string (ie:  bf(string x, int BaseIn, long Base10Precision)).

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