Fractions
Fractions copied to clipboard
A fraction data type to calculate with rational numbers.
Following the discussion in #49 here is a POC with special handling for the operations of the non-reduced fractions. Motivations: 1. Given that all existing operations return a normalized fraction-...
I'm curious about the use cases you have for the `FractionState` and weather you intend to extend or reduce the support for `Improper` (i.e. non-reduced/non-normalized) Fractions moving forward. Here are...
## Support for NaN and Infinity Hey, I've been digging into the code and I think we can add support for NaN and +/- Infinity. Here's what I'm thinking: 1....
@danm-de _Sorry, I didn't realize what branch I was on, and pushed my commit to the branch of this PR.. I'll update the title and description, but if you prefer-...
Let's illustrate this with an example: `new Fraction((BigInteger)double.MaxValue * 2, (BigInteger)double.MaxValue * 2, false)` | Name | Value | Type -- | -- | -- | -- ▶ | A...
Hi, Over at [EngineeringUnits](https://github.com/MadsKirkFoged/EngineeringUnits/issues/62) we are trying create support for `System.Text.Json` but when I looking into it, it turns out that its because `Fractions` does not have support for it:...