get_numeral_double method

double get_numeral_double(
  1. Z3_context c,
  2. Z3_ast a
)

\brief Return numeral as a double.

\pre Z3_get_ast_kind(c, a) == Z3_NUMERAL_AST || Z3_is_algebraic_number(c, a)

def_API('Z3_get_numeral_double', DOUBLE, (_in(CONTEXT), _in(AST)))

Implementation

double get_numeral_double(
  Z3_context c,
  Z3_ast a,
) {
  return _get_numeral_double(
    c,
    a,
  );
}