There was a discussion with specific format suggestions not long ago, either on this list or on gmp-devel. The format should be, coded exponent coded size digit bytes in network byte order where exponent will be used for mpf. For details, please look at the list archives. -- Torbjörn