NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet · #449 most downloaded on NuGet
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.
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 6 months
Most releases are documented
notes for 24 of 37 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
37 releases · first in 2013
Added support for NaN and Infinity by https://github.com/lipchev
8.0.0
Breaking changes
One column per quarter.
Added support for NaN and Infinity by https://github.com/lipchev
8.0.0
Breaking changes
Added support for NaN and Infinity by https://github.com/lipchev
8.0.0
Breaking changes
Added support for NaN and Infinity by https://github.com/lipchev
8.0.0
Breaking changes
The license has been changed to give the community a freer hand for forks and changes.
Signed-off-by: Daniel Mueller daniel@danm.de
Added support for NaN and Infinity by https://github.com/lipchev
8.0.0
Breaking changes
Added support for NaN and Infinity by https://github.com/lipchev
8.0.0
Breaking changes
Added support for NaN and Infinity by https://github.com/lipchev
8.0.0
Breaking changes
Added support for NaN and Infinity by https://github.com/lipchev
8.0.0
Breaking changes
Added support for NaN and Infinity by https://github.com/lipchev
8.0.0
Breaking changes
Added support for NaN and Infinity by https://github.com/lipchev
8.0.0
Breaking changes
Added support for NaN and Infinity by lipchev
JsonFractionConverter with default settings. In such cases, deserialized fractions create non-normalized fractions, which can lead to changed behavior when calling ToString. Please refer the README section Working with non-normalized fractions.Equals(Fraction) method has changed: Equals now compares the calculated value from the numerator/denominator (1/2 = 2/4).ToString() now depends on the active culture (CultureInfo.CurrentCulture). The reason is that NaN and Infinity should be displayed in the system language or the corresponding symbol should be used.Fraction.TryParse(..) changed from fractionString to value.Added hotfix FromString supporting all NumberStyles https://github.com/lipchev
Added DecimalNotationFormatter + documentation by lipchev
Incorrect result when rounding 1/3 with MidpointRounding.ToEven (fixes #39) by lipchev
Added method overload for FromDouble with significant digits by lipchev
Added benchmarks for the most common operations by lipchev
ReadOnlySpan<char> when using TryParse(..)Code cleanup (use new language features)
The CLSCompliant(true) attribute was added by lipchev
New Reciprocal() method contributed by https://github.com/teemka
Updated Newtonsoft.Json to version 13.0.2 (Dependabot)
Removed System.Runtime.Numerics dependency. Thanks to @stan-sz https://github.com/danm-de/Fractions/pull/18
New Sqrt() extension method contributed by https://github.com/MadsKirkFoged
Removed unsupported framework DLL netstandard1.1 (Issue #9)
Breaking change: new Fraction(0, 0).ToString() or new Fraction(0, 3).ToString() returns "0" instead of "0/0"
new Fraction(0, 0).ToString() or new Fraction(0, 3).ToString() returns "0" instead of "0/0"Fraction.Zero.ToString("m") does not longer throw a divide by zero exception (Issue #6)Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →