mirror of
https://github.com/Z3Prover/z3
synced 2025-07-26 06:07:01 +00:00
Added sbv2s (#5413)
* Added sbv2s * Fixed indention Co-authored-by: Clemens Eisenhofer <Clemens.Eisenhofer@tuwien.ac.at>
This commit is contained in:
parent
9e5dcf3ecb
commit
0fa4b63d26
11 changed files with 104 additions and 22 deletions
|
@ -2035,7 +2035,15 @@ public class Context implements AutoCloseable {
|
|||
{
|
||||
return (SeqExpr<CharSort>) Expr.create(this, Native.mkUbvToStr(nCtx(), e.getNativeObject()));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Convert an signed bitvector expression to a string.
|
||||
*/
|
||||
public SeqExpr<CharSort> sbvToString(Expr<BitVecSort> e)
|
||||
{
|
||||
return (SeqExpr<CharSort>) Expr.create(this, Native.mkSbvToStr(nCtx(), e.getNativeObject()));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert an integer expression to a string.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue