fpa_get_numeral_exponent_bv method

Z3_ast fpa_get_numeral_exponent_bv(
  1. Z3_context c,
  2. Z3_ast t,
  3. bool biased
)

\brief Retrieves the exponent of a floating-point literal as a bit-vector expression.

\param c logical context \param t a floating-point numeral \param biased flag to indicate whether the result is in biased representation

Remarks: This function extracts the exponent in t, without normalization. NaN is an invalid arguments.

def_API('Z3_fpa_get_numeral_exponent_bv', AST, (_in(CONTEXT), _in(AST), _in(BOOL)))

Implementation

Z3_ast fpa_get_numeral_exponent_bv(
  Z3_context c,
  Z3_ast t,
  bool biased,
) {
  return _fpa_get_numeral_exponent_bv(
    c,
    t,
    biased,
  );
}