Microsoft Windows 上的 C 或 C++ BigInt 库
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/214706/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
C or C++ BigInt library on Microsoft Windows
提问by KTC
What arbitrary-precision integers (and or rationals) library are there for compilers running on Microsoft Windows, and which would you recommend?
在 Microsoft Windows 上运行的编译器有哪些任意精度整数(和或有理数)库,您会推荐哪些?
Please state license type / cost, supported compilers (i.e. GCC and or VC++) for the library.
请说明该库的许可证类型/成本、支持的编译器(即 GCC 和或 VC++)。
回答by KTC
回答by Michael Burr
I have not used it, so I'm pointing you here blind:
我没有用过它,所以我在这里盲目地指着你:
LibTomMath by Tom St Denis: http://libtom.org/
Tom St Denis 的 LibTomMath:http://libtom.org/
Public Domain license. Website mentions that the library builds out of the box with GCC 2.95 [and up] as well as Visual C++ v6.00 [with SP5] without configuration.
公共领域许可。网站提到该库使用 GCC 2.95 [及更高版本] 以及 Visual C++ v6.00 [SP5] 开箱即用,无需配置。
A companion book is available: http://www.amazon.com/dp/1597491128