Z3
RealSort.cs
Go to the documentation of this file.
1 /*++
2 Copyright (c) 2012 Microsoft Corporation
3 
4 Module Name:
5 
6  RealSort.cs
7 
8 Abstract:
9 
10  Z3 Managed API: Real Sorts
11 
12 Author:
13 
14  Christoph Wintersteiger (cwinter) 2012-11-23
15 
16 Notes:
17 
18 --*/
19 
20 using System;
21 using System.Diagnostics.Contracts;
22 
23 namespace Microsoft.Z3
24 {
28  public class RealSort : ArithSort
29  {
30  #region Internal
31  internal RealSort(Context ctx, IntPtr obj)
32  : base(ctx, obj)
33  {
34  Contract.Requires(ctx != null);
35  }
36  internal RealSort(Context ctx)
37  : base(ctx, Native.Z3_mk_real_sort(ctx.nCtx))
38  {
39  Contract.Requires(ctx != null);
40  }
41  #endregion
42  }
43 }
using System
static Z3_sort Z3_mk_real_sort(Z3_context a0)
Definition: Native.cs:2178
def RealSort(ctx=None)
Definition: z3py.py:2655
A real sort
Definition: RealSort.cs:28
An arithmetic sort, i.e., Int or Real.
Definition: ArithSort.cs:28
The main interaction with Z3 happens via the Context.
Definition: Context.cs:31