mk_fpa_to_sbv method

Z3_ast mk_fpa_to_sbv(
  1. Z3_context c,
  2. Z3_ast rm,
  3. Z3_ast t,
  4. int sz,
)

\brief Conversion of a floating-point term into a signed bit-vector.

Produces a term that represents the conversion of the floating-point term \c t into a bit-vector term of size \c sz 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 FloatingPoint sort \param sz size of the resulting bit-vector

def_API('Z3_mk_fpa_to_sbv', AST, (_in(CONTEXT),_in(AST),_in(AST),_in(UINT)))

Implementation

Z3_ast mk_fpa_to_sbv(
  Z3_context c,
  Z3_ast rm,
  Z3_ast t,
  int sz,
) {
  return _mk_fpa_to_sbv(
    c,
    rm,
    t,
    sz,
  );
}