Function z3_sys::Z3_get_numeral_rational_int64
source · pub unsafe extern "C" fn Z3_get_numeral_rational_int64(
c: Z3_context,
v: Z3_ast,
num: *mut i64,
den: *mut i64
) -> bool
Expand description
Similar to Z3_get_numeral_string
, but only succeeds if the
value can fit as a rational number as
machine int64_t
int. Return true
if the call succeeded.
Preconditions:
Z3_get_ast_kind(c, v) == AstKind::Numeral