-
I want to processor some number very.... big. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
If you reference MathNet.Numerics.FSharp (works in C# as well) in addition to MathNet.Numerics, you'll find a type called |
Beta Was this translation helpful? Give feedback.
-
thank you, but Its just store two biginteger and without computer, maybe its not mature. |
Beta Was this translation helpful? Give feedback.
-
It is used in production, so seems to be mature enough. But your use case my differ. Thanks for the update. |
Beta Was this translation helpful? Give feedback.
-
Any C# version of BigRational? |
Beta Was this translation helpful? Give feedback.
-
BigRational should work well from C# - have you run into a problem or a case that doesn't work well? |
Beta Was this translation helpful? Give feedback.
-
I can't find the BigRational class in C# MathNet. :( |
Beta Was this translation helpful? Give feedback.
If you reference MathNet.Numerics.FSharp (works in C# as well) in addition to MathNet.Numerics, you'll find a type called
BigRational
, which is essentially representing arbitrary precision rational numbers (built using two BigIntegers). The explicit semantics of arbitrary precision rational numbers are a bit different to using floats, but they can likely represent the structure you're looking for.