Converted the number_residue() fn to the form of the number_spin() fn.
Authored by: bugman 2008-05-04
Parent: [r6066]
Child: [r6068]