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.

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.

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

Repository Stars
MichaelGrafnetter/DSInternals
Directory Services Internals (DSInternals) PowerShell Module and Framework
abergs/fido2-net-lib
FIDO2 .NET library for FIDO2 / WebAuthn Attestation and Assertion using .NET
peteroupc/CBOR
A C# implementation of Concise Binary Object Representation (RFC 7049).

Version History

Version Downloads Last updated
1.4.3 512 7/4/2019
1.4.2 82 7/1/2019
1.4.1 98 6/18/2019
1.4.0 74 6/16/2019
1.3.1 134 6/2/2019
1.3.0 99 5/30/2019
1.2.2 2,600 1/3/2019
1.2.1 195 1/2/2019
1.2.0 148 1/1/2019
1.1.2 26,154 7/31/2018
1.1.1 188 7/30/2018
1.1.0 235 7/30/2018
1.0.2 40,577 9/8/2017
1.0.1 204 9/8/2017
1.0.0 1,271 8/11/2017
0.5.0 240 8/6/2017
0.4.0 961 5/30/2017
0.3.0 15,249 11/15/2016
0.2.2 13,618 2/15/2016
0.2.0 419 2/3/2016