gmp_printf() and mpf_set_d() question
atina at techie.com
Tue Nov 4 06:25:55 UTC 2014
> I do not understand the behaviour of gmp_printf() and mpf_set_d().
> __mpf_struct mpfs;
I don't think direct use of __mpf_struct is documented, nor supported.
> gmp_printf("%1.10e\n", *mpfptr);
You ask gmp_printf to print a struct as a float... Maybe you mean
with the "F" for mpf and without the "*".
More information about the gmp-discuss