c++ - 使用 bigint 类 C++

标签 c++ visual-studio biginteger

我正在解决一个需要处理 120 位二进制数的问题。没有简单的数据类型,我知道我需要使用 bigint。我使用 64 位 win 7 HB 和 visual studio 2010 ultimate 作为我的 c++ ide。

谁能解释一下如何创建 bigint 变量以及如何对它们执行平方和平方根函数。

最佳答案

OpenSSL 项目提供了一个大整数库。
谷歌“OpenSSL 大整数”

关于c++ - 使用 bigint 类 C++,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6849696/

相关文章:

c++ - 如何将自定义特征张量类存储到 std::vector 中?

database - 当我在 Microsoft Visual Studio 中更新表时,它一直停留在准备更新脚本......永远

go - 如何在 golang 中将 uint64 转换为 big.Int?

android - SQLite 使用 ContentValues 和 BigInteger 数据类型?

c# - BigInteger/BigRational 转换为 double 和返回的问题

c++ - 这是未定义的行为吗?您如何判断?

c++ - 获取全局IP地址

c - 并行使用 pragma 进行构造

macos - Visual Studio for Mac 上的 .net-core3.1 : Unable to configure HTTPS endpoint

c++ - 通过 QPushButton 信号更改 QLabel setPixmap()