Boost C++ 库

...世界上最受推崇和专业设计的 C++ 库项目之一。 Herb SutterAndrei Alexandrescu, C++ 编码标准

Next

第一章 1. Boost.Multiprecision

John Maddock

Christopher Kormanyos

根据 Boost 软件许可 1.0 版发布。(请参阅随附文件 LICENSE_1_0.txt 或在 https://boost.ac.cn/LICENSE_1_0.txt 复制)

目录

简介
教程
整数类型
cpp_int
gmp_int
tom_int
示例
阶乘
位运算
浮点类型
cpp_bin_float
cpp_dec_float
gmp_float
mpfr_float
float128
示例
从特定值构造而不损失精度
圆的面积
插入式注意事项
定义一个特殊函数。
计算导数
计算积分
多项式求值
变精度牛顿求值
高斯-拉盖尔求积
区间数类型
mpfi_float
复数类型
cpp_complex
mpc_complex
complex128
complex_adaptor
有理数类型
cpp_rational
gmp_rational
tommath_rational
tommath_rational
rational_adaptor
其他数字类型。
logged_adaptor
debug_adaptor
Visual C++ 调试器可视化工具
前向声明
在数字类型之间构造和相互转换
生成随机数
素性测试
字面量类型和 constexpr 支持
导入和导出 cpp_intcpp_bin_float 的数据
转换的舍入规则
混合精度算术
变精度算术
通用整数运算
Boost.Serialization 支持
数值限制
std::numeric_limits<> 常量
std::numeric_limits<> 函数
32 位平台的数值限制
如何从 std::numeric_limits 确定数字的类型
输入输出
哈希函数支持
Eigen 互操作性
编写新的后端
参考
number
cpp_int
gmp_int
tom_int
gmp_float
mpfr_float_backend
cpp_bin_float
cpp_dec_float
内部支持代码
后端要求
头文件结构
性能比较
Number 类包装器的开销
浮点真实世界测试
整数真实世界测试
有理数真实世界测试
浮点算法性能
整数算法性能
有理数类型性能
路线图
历史
TODO
FAQ
致谢
索引
函数索引
类索引
类型定义索引
索引

Next