表 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 |
定義三角函數相關浮點函式的預設版本。 |