PreciseCalc 0.7.5
dotnet add package PreciseCalc --version 0.7.5
NuGet\Install-Package PreciseCalc -Version 0.7.5
<PackageReference Include="PreciseCalc" Version="0.7.5" />
<PackageVersion Include="PreciseCalc" Version="0.7.5" />
<PackageReference Include="PreciseCalc" />
paket add PreciseCalc --version 0.7.5
#r "nuget: PreciseCalc, 0.7.5"
#addin nuget:?package=PreciseCalc&version=0.7.5
#tool nuget:?package=PreciseCalc&version=0.7.5
PreciseCalc
PreciseCalc is a .NET port of the real arithmetic library originally implemented in Java by Hans-J. Boehm. It enables arbitrary-precision real number calculations and provides specialized functionality for precision management and comparison operations.
Overview
This library is a .NET adaptation of Boehm's original Java implementation.
The original implementation includes the UnifiedReal
real arithmetic package,
which is used in Google's Android calculator app, and is described in detail in the paper
"Towards an API for the real numbers" (DOI).
PreciseCalc provides the following features:
- Arbitrary-precision arithmetic using
ConstructiveReal
- Comparable real number representation using
UnifiedReal
- Floating-point precision testing functionality
- Appropriate exception handling (
DomainException
,PrecisionOverflowException
, etc.)
Installation
PreciseCalc is planned to be distributed via NuGet at NuGet.org. It can be installed using the following command:
dotnet add package PreciseCalc
Class List
PreciseCalc Namespace
Class | Description |
---|---|
ConstructiveReal |
Represents an arbitrary-precision constructive real number. |
UnifiedReal |
Represents computable real numbers with exact comparison capabilities in certain cases. |
BoundedRational |
Represents bounded rational numbers that allow exact comparisons. |
References
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.