Repository navigation
v1.4
v1.4
- Implemented
uint64_t crtCalc(uint64_t residue1, ModEntry entry1, uint64_t residue2, ModEntry entry2, ModEntry newEntry), which uses the Chinese remainder theorem to calculate the unique residue congruent toresidue1moduloentry1.modulusand toresidue2moduloentry2.modulus. Only works if the moduli are coprime.