表 1.10. 顶级头文件
头文件 |
包含内容 |
---|---|
cpp_int.hpp |
|
gmp.hpp |
定义所有与 GMP 相关的后端。 |
miller_rabin.hpp |
Miller Rabin 素性测试代码。 |
number.hpp |
定义 |
mpfr.hpp |
定义 mpfr_float_backend 后端。 |
random.hpp |
定义与 Boost.Random 互操作的代码。 |
rational_adaptor.hpp |
定义 |
cpp_dec_float.hpp |
定义 |
tommath.hpp |
定义 |
concepts/number_archetypes.hpp |
定义用于测试的后端概念原型。 |
表 1.11. 实现头文件
头文件 |
包含内容 |
---|---|
cpp_int/add.hpp |
|
cpp_int/bitwise.hpp |
|
cpp_int/checked.hpp |
|
cpp_int/comparison.hpp |
|
cpp_int/cpp_int_config.hpp |
|
cpp_int/divide.hpp |
|
cpp_int/limits.hpp |
|
cpp_int/misc.hpp |
|
cpp_int/multiply.hpp |
|
detail/default_ops.hpp |
可选后端非成员函数的默认版本。 |
detail/generic_interconvert.hpp |
通用类型转换例程。 |
detail/number_base.hpp |
|
detail/no_et_ops.hpp |
非表达式模板运算符。 |
detail/functions/constants.hpp |
定义浮点函数使用的常量。 |
detail/functions/pow.hpp |
定义幂和指数相关浮点函数的默认版本。 |
detail/functions/trig.hpp |
定义三角函数相关浮点函数的默认版本。 |