mk_fpa_to_fp_int_real method

Z3_ast mk_fpa_to_fp_int_real(
  1. Z3_context c,
  2. Z3_ast rm,
  3. Z3_ast exp,
  4. Z3_ast sig,
  5. Z3_sort s,
)

\brief Conversion of a real-sorted significand and an integer-sorted exponent into a term of FloatingPoint sort.

Produces a term that represents the conversion of \ccode{sig * 2^exp} 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 exp exponent term of Int sort \param sig significand term of Real sort \param s FloatingPoint sort

\c s must be a FloatingPoint sort, \c rm must be of RoundingMode sort, \c exp must be of int sort, \c sig must be of real sort.

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

Implementation

Z3_ast mk_fpa_to_fp_int_real(
  Z3_context c,
  Z3_ast rm,
  Z3_ast exp,
  Z3_ast sig,
  Z3_sort s,
) {
  return _mk_fpa_to_fp_int_real(
    c,
    rm,
    exp,
    sig,
    s,
  );
}