mk_fpa_to_fp_signed method

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

\brief Conversion of a 2's complement signed bit-vector term into a term of FloatingPoint sort.

Produces a term that represents the conversion of the bit-vector term \c t into a floating-point term of sort \c s. The bit-vector \c t is taken to be in signed 2's complement format. 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 bit-vector 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 bit-vector sort.

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

Implementation

Z3_ast mk_fpa_to_fp_signed(
  Z3_context c,
  Z3_ast rm,
  Z3_ast t,
  Z3_sort s,
) {
  return _mk_fpa_to_fp_signed(
    c,
    rm,
    t,
    s,
  );
}