MSTL 1.4.0
A Modern C++ Library with extended functionality, web components, and utility libraries
载入中...
搜索中...
未找到
big_mul< X, Y > 模板结构体 参考

无符号大整数乘法 更多...

#include <static_numeric.hpp>

静态 Public 属性

static constexpr uintmax_t result_high = result_type::result_high
 乘法结果的高位
static constexpr uintmax_t result_low = result_type::result_low
 乘法结果的低位

详细描述

template<uintmax_t X, uintmax_t Y>
struct big_mul< X, Y >

无符号大整数乘法

模板参数
X第一个乘数
Y第二个乘数

使用分治策略计算两个大整数的乘积,防止溢出。

在文件 static_numeric.hpp145 行定义.


该结构体的文档由以下文件生成: