Microsoft Windows上的C或C ++ BigInt库

时间:2022-04-22 16:51:55

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 ++)。

4 个解决方案

#1


7  

GMP.

LGPL. Standard download from official website is designed for GCC. VC++ port is available from here.

LGPL。官方网站的标准下载是为GCC设计的。 VC ++端口可从此处获得。

#2


4  

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.

Public Domain许可证。网站提到该库开箱即用GCC 2.95 [及以上]以及Visual C ++ v6.00 [与SP5]无需配置。

A companion book is available: http://www.amazon.com/dp/1597491128

可以获得配套书籍:http://www.amazon.com/dp/1597491128

#3


3  

OpenSSL BN type. BSD-style license, pretty sure it's available for windows.

OpenSSL BN类型。 BSD风格的许可证,非常确定它可用于Windows。

#4


1  

Best bignum library to solve Project Euler problems in C++ ?

最好的bignum库解决C ++中的Project Euler问题?

#1


7  

GMP.

LGPL. Standard download from official website is designed for GCC. VC++ port is available from here.

LGPL。官方网站的标准下载是为GCC设计的。 VC ++端口可从此处获得。

#2


4  

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.

Public Domain许可证。网站提到该库开箱即用GCC 2.95 [及以上]以及Visual C ++ v6.00 [与SP5]无需配置。

A companion book is available: http://www.amazon.com/dp/1597491128

可以获得配套书籍:http://www.amazon.com/dp/1597491128

#3


3  

OpenSSL BN type. BSD-style license, pretty sure it's available for windows.

OpenSSL BN类型。 BSD风格的许可证,非常确定它可用于Windows。

#4


1  

Best bignum library to solve Project Euler problems in C++ ?

最好的bignum库解决C ++中的Project Euler问题?