PreciseCalc 0.7.5

dotnet add package PreciseCalc --version 0.7.5
                    
NuGet\Install-Package PreciseCalc -Version 0.7.5
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PreciseCalc" Version="0.7.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="PreciseCalc" Version="0.7.5" />
                    
Directory.Packages.props
<PackageReference Include="PreciseCalc" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add PreciseCalc --version 0.7.5
                    
#r "nuget: PreciseCalc, 0.7.5"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=PreciseCalc&version=0.7.5
                    
Install PreciseCalc as a Cake Addin
#tool nuget:?package=PreciseCalc&version=0.7.5
                    
Install PreciseCalc as a Cake Tool

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • 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.

Version Downloads Last updated
0.7.5 89 a month ago
0.7.0 96 a month ago
0.6.0 94 a month ago