PeterO.Numbers 0.2.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.

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

Release Notes

Version 0.2.2:

- Previous assembly was released with wrong version number

Version 0.2.1:

- Fixed corner cases in EFloat's ToSingle and ToDouble methods

Version 0.2:

- Performance improvements
- Added several overloads for DivideToExponent method
- GCD code in EInteger rewritten
- Added CopySign, CompareToTotal, and CompareToTotalMagnitude
methods to EDecimal and EFloat.
- Renamed several methods in EDecimal and EFloat
- RoundToIntegral\* methods renamed to RoundToInteger\* methods
- Renamed some EInteger integer conversion methods; added
CanFitInInt64, GetUnsignedBitLengthAsEInteger,
and GetLowBitAsEInteger methods
- Several operators added to EDecimal in C# version
- Rewrote code that converts from decimal to binary floating-point;
add ToEFloat method taking an EContext in EDecimal
- Added ToShortestString method in EFloat
- Add UnlimitedHalfEven EContext object
- Bug fixes

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 517 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,601 1/3/2019
1.2.1 195 1/2/2019
1.2.0 148 1/1/2019
1.1.2 26,301 7/31/2018
1.1.1 191 7/30/2018
1.1.0 238 7/30/2018
1.0.2 40,626 9/8/2017
1.0.1 205 9/8/2017
1.0.0 1,271 8/11/2017
0.5.0 240 8/6/2017
0.4.0 962 5/30/2017
0.3.0 15,252 11/15/2016
0.2.2 13,621 2/15/2016
0.2.0 422 2/3/2016
Show less