PeterO.Numbers 1.4.2

A C# library that supports arbitrary-precision binary and decimal floating-point numbers and rational numbers with arbitrary-precision components, and supports arithmetic with these numbers.

Additional Details

Use the latest version of PeterO.Numbers (the latest version is 1.5.1 as of January 2020).

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

Release Notes

Version 1.4.2

- Bug fix in the EInteger.CanFitInInt64 method

Version 1.4.1

- Added EDecimals and EFloats classes to .NET 2.0 and .NET 4.0 versions; those classes were inadvertently omitted there

Version 1.4.0

- Added EDecimals and EFloats class that implements more methods for arbitrary-precision decimal and binary numbers
- Increment and decrement operators added to EInteger, EDecimal, EFloat, and ERational classes
- Allowed EDecimal values in (-1, 0) to EDecimal's *Checked methods, to conform to documentation.
- Added WithNoFlagsOrTraps method and HasFlagsOrTraps property to EContext
- Add Mod(int), Pow(int), and FromBoolean methods to EInteger
- Add And, Not, Xor, and Or methods to EInteger.cs
- Add Copy method to EDecimal, EFloat, and ERational
- Add CompareToTotalMagnitude overload to EDecimal, EFloat, and ERational
- Deprecated Odd and ZeroFiveUp rounding modes
- Bug fixes and performance improvements

NuGet packages (6)

Showing the top 5 NuGet packages that depend on PeterO.Numbers:

Package Downloads
PeterO.Cbor
A C# implementation of Concise Binary Object Representation (CBOR), a general-purpose binary data format defined in RFC 7049.
AngouriMath
Enables to work with formulas built in the code or from a string. Computing, derivating, latex rendering, fast functions, solving equations and systems of equations analytycally, simplification, and much more.
Multiformats.Codec
Multiformat codecs
ContentIdentifier
content identifier
CobrowseIO.Windows
Cobrowse.io - Windows SDK

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on PeterO.Numbers:

Repository Stars
MichaelGrafnetter/DSInternals
Directory Services Internals (DSInternals) PowerShell Module and Framework
asc-community/AngouriMath
Open-source symbolic algebra library for C#. One of the most powerful in .NET
peteroupc/CBOR
A C# implementation of Concise Binary Object Representation (RFC 7049).

Version History

Version Downloads Last updated
1.7.4 2,278 8/8/2020
1.7.3 4,541 7/14/2020
1.7.2 159 7/12/2020
1.7.1 216 7/5/2020
1.7.0 128 7/4/2020
1.6.0 13,661 3/20/2020
1.5.1 43,029 12/11/2019
1.5.0 515 12/2/2019
1.4.3 129,173 7/4/2019
1.4.2 252 7/1/2019
1.4.1 242 6/18/2019
1.4.0 210 6/16/2019
1.3.1 261 6/2/2019
1.3.0 244 5/30/2019
1.2.2 9,037 1/3/2019
1.2.1 358 1/2/2019
1.2.0 285 1/1/2019
1.1.2 114,541 7/31/2018
1.1.1 357 7/30/2018
1.1.0 401 7/30/2018
1.0.2 229,254 9/8/2017
1.0.1 360 9/8/2017
1.0.0 1,544 8/11/2017
0.5.0 403 8/6/2017
0.4.0 1,323 5/30/2017
0.3.0 15,500 11/15/2016
0.2.2 14,130 2/15/2016
0.2.0 638 2/3/2016
Show less