get_numeral_decimal_string method

Z3_string get_numeral_decimal_string(
  1. Z3_context c,
  2. Z3_ast a,
  3. int precision
)

\brief Return numeral as a string in decimal notation. The result has at most \c precision decimal places.

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

def_API('Z3_get_numeral_decimal_string', STRING, (_in(CONTEXT), _in(AST), _in(UINT)))

Implementation

Z3_string get_numeral_decimal_string(
  Z3_context c,
  Z3_ast a,
  int precision,
) {
  return _get_numeral_decimal_string(
    c,
    a,
    precision,
  );
}