Moved definition of _pari_sp.
Moved definitions of gen_* constants.
Minor rearrangements.