add member functions to padicxx