converting a mpq to a double

Andreas Fabri Andreas.Fabri at
Fri Jun 10 14:31:14 CEST 2005


is there any kind of guarantee that the generated double is close
to the rational number op.

double mpq_get_d (mpq_t op)  	
Convert op to a double.

Thanks in advance,


More information about the gmp-discuss mailing list