Next: Interval Comparison Functions, Previous: Assignment Functions, Up: Rational Interval Functions [Index]
Convert op to a rational number, which is its centre.3
Convert op to a double
,
this conversion is the composition of mpri_get_q
and mpq_get_d
.
An other conversion choice might be made in future releases of MPRIA;
to explicitly obtain the centre of a rational interval,
use mpri_mid
instead.