converting a mpq to a double

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


Hello,

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,

andreas


More information about the gmp-discuss mailing list