I have a plan to upgrade Iron Python of my project from V2.3.7 to 2.7.11. When I am replacing the new IronPython package, I found that "Microsoft.Scripting.Math.BigInteger" has been removed from Microsoft.Dynamic.dll and it makes my code error. Could you show me where to get BigInteger class to replace or any solution to fix this issue? Thank you!
Asked
Active
Viewed 79 times
1
-
Python can natively handle arbitrarily large integers, so there may be no need for Math.BigInteger — perhaps that's why it was removed. – martineau Aug 30 '21 at 12:18
1 Answers
0
BigInteger was previously shipped with the dlr for older .NET (pre 4.0) versions. Given that IronPython no longer supports those targets, they removed it quite some time ago.
Nowadays you probably want to use System.Numerics.BigInteger which is supported starting with .NET 4.0.

Simon Opelt
- 6,136
- 2
- 35
- 66