|
NexusForce 1.0.0
A rigorously engineered full-stack C++ backend library.
|
大整数除法 更多...
#include <static_numeric.hpp>
静态 Public 属性 | |
| static constexpr uintmax_t | quotient_high = NumHigh / Den |
| 商的高位 | |
| static constexpr uintmax_t | quotient_low = division_result::quotient |
| 商的低位 | |
| static constexpr uintmax_t | remainder = division_result::remainder / shift_factor1 |
| 余数 | |
大整数除法
| NumHigh | 被除数的高位 |
| NumLow | 被除数的低位 |
| Den | 除数 |
使用位移优化的大整数除法,提高计算效率。
在文件 static_numeric.hpp 第 232 行定义.