Integer division remains expensive on today's processors as thecost of integer multiplication declines. We present code sequences fordivision by arbitrary nonzero integer constants and run-time invariantsusing integer multiplication. The algorithms assume a two's complementarchitecture. Most also require that the upper half of an integerproduct be quickly accessible. We treat unsigned division, signeddivision where the quotient rounds towards zero, signed division wherethe quotient rounds towards
由于整数乘法的成本下降,在当今的处理器上整数除法仍然很昂贵。我们给出了使用任意非零整数常量和运行时不变量使用整数乘法进行划分的代码序列。该算法采用二进制补码结构。大多数还要求整数乘积的上半部分必须能够快速访问。我们处理无符号除法,有符号除法(商向零舍入),有符号除法(商商向
机译:算术和几何不变乘法整数分区
机译:乘法整数下分形不变的Hausdorff维数
机译:使用乘法的常数整型有效算法
机译:使用并行Karatsuba算法进行长整数乘法和分区
机译:大整数乘法的快速模块化归约。
机译:在定期淬火的双腿梯形中非封闭型浮子阶段具有偶数整数拓扑不变的阶段
机译:使用乘法按不变整数进行除法