请输入您要查询的字词:

 

单词 modular arithmetic
释义
modular arithmetic

Mathematics
  • See modulo N arithmetic.


Computer
  • Arithmetic based on the concept of the congruence relation defined on the integers and used in computing to circumvent the problem of performing arithmetic on very large numbers.

    Let m1, m2,…, mk be integers, no two of which have a common factor greater than one. Given a large positive integer n it is possible to compute the remainders or residues r1, r2,…, rk such that

    nr1(modm1)nr2(modm2)nrk(modmk)
    Provided n is less than
    m1×m2××mk
    n can be represented by
    (r1,r2,,rk)
    This can be regarded as an internal representation of n. Addition, subtraction, and multiplication of two large numbers then involves the addition, subtraction, and multiplication of corresponding pairs, e.g.
    (r1,,rk)+(s1,,sk)=(r1+s1,,rk+sk)
    Determining the sign of an integer or comparing relative magnitudes are less straightforward.


随便看

 

科学参考收录了60776条科技类词条,基本涵盖了常见科技类参考文献及英语词汇的翻译,是科学学习和研究的有利工具。

 

Copyright © 2000-2023 Sciref.net All Rights Reserved
京ICP备2021023879号 更新时间:2024/6/28 14:07:11