Hi,<br><br>I plan to use the GMP library and am in need of representing the values as strings for use with MPI.<br><br>I require a string representation of an mpf_class that has the same number of characters, always. That is, the trailing zeros can not be dropped even though they are not part of the actual accuracy.
<br><br>For instance, 3 characters for the exponents in base 10, and always the same number of characters for expressing the mantissa and one for sign. Do any of you know how to accomplish this or if there is already a function or utility for doing so?
<br><br>Thanks,<br> Marc.<br>