mk_fpa_to_ubv method

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

\brief Conversion of a floating-point term into an unsigned 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 unsigned 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_ubv', AST, (_in(CONTEXT),_in(AST),_in(AST),_in(UINT)))

Implementation

Z3_ast mk_fpa_to_ubv(
  Z3_context c,
  Z3_ast rm,
  Z3_ast t,
  int sz,
) {
  return _mk_fpa_to_ubv(
    c,
    rm,
    t,
    sz,
  );
}