mk_fpa_to_fp_real method

Z3_ast mk_fpa_to_fp_real(
  1. Z3_context c,
  2. Z3_ast rm,
  3. Z3_ast t,
  4. Z3_sort s,
)

\brief Conversion of a term of real sort into a term of FloatingPoint sort.

Produces a term that represents the conversion of term \c t of real sort into a floating-point term of sort \c s. If necessary, the result will be rounded according to rounding mode \c rm.

\param c logical context \param rm term of RoundingMode sort \param t term of Real sort \param s floating-point sort

\c s must be a FloatingPoint sort, \c rm must be of RoundingMode sort, \c t must be of real sort.

def_API('Z3_mk_fpa_to_fp_real', AST, (_in(CONTEXT),_in(AST),_in(AST),_in(SORT)))

Implementation

Z3_ast mk_fpa_to_fp_real(
  Z3_context c,
  Z3_ast rm,
  Z3_ast t,
  Z3_sort s,
) {
  return _mk_fpa_to_fp_real(
    c,
    rm,
    t,
    s,
  );
}