Today I'll continue studying MPQ, which largely serves to wrap various MPN routines with memory management & normalization. These include:
* Copying fields from one MPZ to another.
* Random (several wrappers)
* square-root + remainder (couple)
* test perfect-powers
* Modulo (multiple codepaths)
* Multiply wrapped in a loop for product.
* Multiplication (multiple wrappers, including for powers-of-2)
* Powers (multiple wrappers)
* Lowest-common multiple
* Jacobi (& Kronecker) primality test
1/2