Boost C++ 库

...世界上评价最高、设计最精良的 C++ 库项目之一。 Herb SutterAndrei Alexandrescu, C++ Coding Standards

第 1 章 Boost.Multiprecision - Boost C++ 函数库
Next

第 1 章 Boost.Multiprecision

Matthew Borland

Paul A. Bristow

Christopher Kormanyos

Janek Kozicki

John Maddock

Fahad Syed

根据 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
cpp_double_fp_backend
示例
从特定值构造且不损失精度
圆的面积
直接替换的注意事项
定义特殊函数
计算导数
计算整数
多项式求值
变精度牛顿求值
高斯-拉盖尔求积
区间数类型
mpfi_float
mpfi_float
复数类型
cpp_complex
mpc_complex
complex128
complex_adaptor
有理数类型
cpp_rational
gmp_rational
tommath_rational
rational_adaptor
杂项数类型。
logged_adaptor
debug_adaptor
前向声明
构造和相互转换数字类型
生成随机数
素数测试
字面量类型和 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
cpp_double_fp_backend
内部支持代码
后端要求
头文件结构
性能比较
数字类包装器中的开销
浮点数实际测试
整数实际测试
有理数实际测试
浮点算法性能
整数算法性能
有理数类型性能
路线图
历史
待办事项
常见问题
致谢
索引
函数索引
类索引
类型定义索引
索引

Next