mk_fpa_round_to_integral method

Z3_ast mk_fpa_round_to_integral(
  1. Z3_context c,
  2. Z3_ast rm,
  3. Z3_ast t
)

\brief Floating-point roundToIntegral. Rounds a floating-point number to the closest integer, again represented as a floating-point number.

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

\c t must be of FloatingPoint sort.

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

Implementation

Z3_ast mk_fpa_round_to_integral(
  Z3_context c,
  Z3_ast rm,
  Z3_ast t,
) {
  return _mk_fpa_round_to_integral(
    c,
    rm,
    t,
  );
}