Solution for
Kenny Chamber
kenny at gem-hs.org
Thu Dec 16 02:42:16 CET 2004
/I have an mpf_t value that I would like to output in the form of
//"12323.2344555", so from what I can tell mpf_set_str() is not what I am
//looking for and I am better off using gmp_snprintf(). The problem I am
//running into is that I want to allocate the string for gmp_snprintf()
//correctly before I call it.
// I do not see a method though for doing this (and I dislike the thought
//of calling it twice, and determining if it overflowed or not)./
-----------------------
Kenny Chamber
http://gem-hs.org/contact.html
More information about the gmp-discuss
mailing list