mk_fpa_to_fp_float method

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

\brief Conversion of a FloatingPoint term into another term of different FloatingPoint sort.

Produces a term that represents the conversion of a floating-point term \c t to 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 FloatingPoint 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 floating-point sort.

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

Implementation

Z3_ast mk_fpa_to_fp_float(
  Z3_context c,
  Z3_ast rm,
  Z3_ast t,
  Z3_sort s,
) {
  return _mk_fpa_to_fp_float(
    c,
    rm,
    t,
    s,
  );
}