MCPcopy Create free account
hub / github.com/AliveToolkit/alive2 / smul_fix

Method smul_fix

smt/expr.cpp:982–985  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

980}
981
982expr expr::smul_fix(const expr &a, const expr &b, const expr &c) {
983 expr r = smul_fix_helper(a, b, c);
984 return r.trunc(a.bits());
985}
986
987expr expr::smul_fix_no_soverflow(const expr &a, const expr &b, const expr &c) {
988 expr r = smul_fix_helper(a, b, c);

Callers

nothing calls this directly

Calls 3

smul_fix_helperFunction · 0.85
truncMethod · 0.45
bitsMethod · 0.45

Tested by

no test coverage detected