Carry out some code from GNU MP