Arithmetic Algorithms
WarningThese algorithms mostly use
single-precision (platform-dependent) arithmetic.
9. Chinese Remainder Theorem (Both
moduli
must be non-zero)
10. Develop the p-adic expansion of a / b
(p
prime; a, b > 0; HCF(p,
b)=1)
WarningThis algorithm may
terminate abnormally if p is not a prime.