PeterO.Numbers 1.4.0

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

Release Notes

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

Dependencies

This package has no dependencies.

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 (2)

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

Repository Stars
MichaelGrafnetter/DSInternals
Directory Services Internals (DSInternals) PowerShell Module and Framework
peteroupc/CBOR
A C# implementation of Concise Binary Object Representation (RFC 7049).

Version History

Version Downloads Last updated
1.7.4 710 8/8/2020
1.7.3 3,047 7/14/2020
1.7.2 141 7/12/2020
1.7.1 202 7/5/2020
1.7.0 114 7/4/2020
1.6.0 11,427 3/20/2020
1.5.1 39,591 12/11/2019
1.5.0 459 12/2/2019
1.4.3 117,554 7/4/2019
1.4.2 221 7/1/2019
1.4.1 209 6/18/2019
1.4.0 178 6/16/2019
1.3.1 233 6/2/2019
1.3.0 210 5/30/2019
1.2.2 8,361 1/3/2019
1.2.1 315 1/2/2019
1.2.0 256 1/1/2019
1.1.2 105,904 7/31/2018
1.1.1 322 7/30/2018
1.1.0 368 7/30/2018
1.0.2 215,015 9/8/2017
1.0.1 327 9/8/2017
1.0.0 1,509 8/11/2017
0.5.0 367 8/6/2017
0.4.0 1,287 5/30/2017
0.3.0 15,467 11/15/2016
0.2.2 14,093 2/15/2016
0.2.0 601 2/3/2016
Show less