danielyback at gmail.com
Mon Jan 10 14:32:47 CET 2011
My name is Daniel. I am new to GMP and I have studied the manual.
I have written a simple program to calculate the square root of 2 to
#define PRECS 128
gmp_printf ("fixed point mpf %.*Ff with %d digits\n", PRECS,x , PRECS);
The output is:
fixed point mpf
with 128 digits
The problem is that SQRT gives less accuracy than I expect it. I believe I
have missed something in the manual.
I would be glad if someone here can solve the problem so I can get the
accuracy to the specified digit (PRECS in this case)
More information about the gmp-discuss