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

Method toBVBool

smt/expr.cpp:1999–2002  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1997}
1998
1999expr expr::toBVBool() const {
2000 auto sort = mkBVSort(1);
2001 return mkIf(*this, mkUInt(1, sort), mkUInt(0, sort));
2002}
2003
2004expr expr::float2BV() const {
2005 if (auto app = isAppOf(Z3_OP_FPA_TO_FP)) // ((_ to_fp e s) BV)

Callers 5

toBVMethod · 0.80
toSMTMethod · 0.80
operator&Method · 0.80
operator|Method · 0.80
operator^Method · 0.80

Calls 1

mkBVSortFunction · 0.85

Tested by

no test coverage detected