16 packages tagged with “Fraction”
The fraction data type consists of two BigInteger values for numerator and denominator. It implements various operations (addition, subtraction, multiplication, division and remainder) with operator overloads.
Big Book of Data Types is a collection of various data types including Vector3, Set, RingBuffer, PriorityQueue, Fractions, and DateSpan. It also includes a number of extension methods for types found already in .Net.
Implementation of rational number arithmetic for .NET with arbitrary precision.
Converts a fraction data type to JSON by using Fraction's ToString() and FromString() methods. The class name is JsonFractionConverter.
Contains a Rational class for working with rational numbers without floating point errors. Also contains some useful mathematical functions, such as GCD.
This is simple .NET Core library for parsing and working with fractinal expressions.
Arithmatic Fraction Conversion and calculation Service
Features: 1) Automatically simplifies the fraction. 2) Fraction can be represented in form of Mixed Fraction. 3) Supports undefined values (Undefined,+Infinity,-Infinity). 4) Data type BigInteger is used and can store all possible rational numbers. 5) String-Fraction conversion (ToString() or TryParse()). 6) Supports comparisons, conversions and operations. 7) New "Like" operator to check if two numbers are similar. e.g (3.14 Like 22/7) returns true. 8) Open source. (https://github.com/ZdsAlpha/Fraction)
MathCore Library
An arbitrary size and precision rational number stored using two BigIntegers.
A collection of userful number types.
.net standard 2.0 version it use a heap allocation represent a number, as if ensure a number is not truncate by IEEE standard.
BigFraction for .NET Framework 4.6 or above
its a bignumber lib with grandint and bigfraction
Generic Rational<T> for any IBinaryInteger<T>, fully integrated with .NET generic math. Arbitrary-precision rational arithmetic via BigIntegerRational.
A .NET library that provides polynomial mathematics and other operations that can be used with polynomials. Supports fraction math and provides access to special operations such as the extended euclidean algorithm.