Microsoft.Z3.Context.MkReal2Int C# (CSharp) Méthode

MkReal2Int() public méthode

Coerce a real to an integer.
The semantics of this function follows the SMT-LIB standard for the function to_int. The argument must be of real sort.
public MkReal2Int ( RealExpr t ) : IntExpr
t RealExpr
Résultat IntExpr
        public IntExpr MkReal2Int(RealExpr t)
        {
            Contract.Requires(t != null);
            Contract.Ensures(Contract.Result<IntExpr>() != null);

            CheckContextMatch(t);
            return new IntExpr(this, Native.Z3_mk_real2int(nCtx, t.NativeObject));
        }
Context