mk_fpa_fma method

Z3_ast mk_fpa_fma(
  1. Z3_context c,
  2. Z3_ast rm,
  3. Z3_ast t1,
  4. Z3_ast t2,
  5. Z3_ast t3,
)

\brief Floating-point fused multiply-add.

\param c logical context \param rm term of RoundingMode sort \param t1 term of FloatingPoint sort \param t2 term of FloatingPoint sort \param t3 term of FloatingPoint sort

The result is \ccode{round((t1 * t2) + t3)}.

\c rm must be of RoundingMode sort, \c t1, \c t2, and \c t3 must have the same FloatingPoint sort.

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

Implementation

Z3_ast mk_fpa_fma(
  Z3_context c,
  Z3_ast rm,
  Z3_ast t1,
  Z3_ast t2,
  Z3_ast t3,
) {
  return _mk_fpa_fma(
    c,
    rm,
    t1,
    t2,
    t3,
  );
}