mk_fpa_to_ieee_bv method

Z3_ast mk_fpa_to_ieee_bv(
  1. Z3_context c,
  2. Z3_ast t
)

\brief Conversion of a floating-point term into a bit-vector term in IEEE 754-2008 format.

\param c logical context \param t term of FloatingPoint sort

\c t must have FloatingPoint sort. The size of the resulting bit-vector is automatically determined.

Note that IEEE 754-2008 allows multiple different representations of NaN. This conversion knows only one NaN and it will always produce the same bit-vector representation of that NaN.

def_API('Z3_mk_fpa_to_ieee_bv', AST, (_in(CONTEXT),_in(AST)))

Implementation

Z3_ast mk_fpa_to_ieee_bv(
  Z3_context c,
  Z3_ast t,
) {
  return _mk_fpa_to_ieee_bv(
    c,
    t,
  );
}