Getting back to my GNU Multiprecision studies, the next I had on my queue is MPZ, which might take a couple days to cover...
The sublibrary around this numeric datastructure includes:
* Wrappers around GMP random adding MPN normalization.
* Division by power-of-two with reallocation & MPN normalization.
* Wrappers around MPN division routines adding memory management & normalization, with it's own fastpath.
* Swap fields of 2 MPZ structures.
* Test whether a given bit in the array is set.
1/?