C or C++ BigInt library on Microsoft Windows

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-26 20:46:45

问题


What arbitrary-precision integers (and or rationals) library are there for compilers running on Microsoft Windows, and which would you recommend?

Please state license type / cost, supported compilers (i.e. GCC and or VC++) for the library.


回答1:


GMP.

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




回答2:


I have not used it, so I'm pointing you here blind:

LibTomMath by Tom St Denis: 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.

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




回答3:


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




回答4:


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



来源:https://stackoverflow.com/questions/214706/c-or-c-bigint-library-on-microsoft-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!