rcf_get_numerator_denominator method

void rcf_get_numerator_denominator(
  1. Z3_context c,
  2. Z3_rcf_num a,
  3. Pointer<Z3_rcf_num> n,
  4. Pointer<Z3_rcf_num> d,
)

\brief Extract the "numerator" and "denominator" of the given RCF numeral. We have that \ccode{a = n/d}, moreover \c n and \c d are not represented using rational functions.

def_API('Z3_rcf_get_numerator_denominator', VOID, (_in(CONTEXT), _in(RCF_NUM), _out(RCF_NUM), _out(RCF_NUM)))

Implementation

void rcf_get_numerator_denominator(
  Z3_context c,
  Z3_rcf_num a,
  ffi.Pointer<Z3_rcf_num> n,
  ffi.Pointer<Z3_rcf_num> d,
) {
  return _rcf_get_numerator_denominator(
    c,
    a,
    n,
    d,
  );
}