[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

Converting scalars

Function: void ap_mpq_set_scalar (mpq_t mpq, ap_scalar_t* op, int round)
Set mpq with the value of op, possibly converting from DOUBLE type.

round currently unused.

Function: double ap_scalar_get_double (ap_scalar_t* op, int round)
Return the value of op in DOUBLE type, possibly converting from MPQ type.

Conversion may be not exact. round currently unused.



This document was generated on September, 10 2009 using texi2html