Tag:modulus

  • #Progma pack (x) description

    Time:2021-7-24

    1. Byte alignment (memory dependent) In modern computers, the memory space is divided according to bytes. Theoretically, it seems that the access to any type of variables can start from any address, but the actual situation is that when accessing a specific variable, it is often accessed at a specific memory address, which requires various […]

  • Modular operation

    Time:2021-5-3

    Modular operation Suppose that \\\\\\\\\\\\\\\\. If M is divided by a – R, it can be recorded as:\\ Calculation of remainder You can always find a a in Z so that A = q · m + R, where 0 / Leq r < m Since a – r = q · m (M divided […]