Z3
FPExpr.cs
Go to the documentation of this file.
1 /*++
2 Copyright (c) 2013 Microsoft Corporation
3 
4 Module Name:
5 
6  FPExpr.cs
7 
8 Abstract:
9 
10  Z3 Managed API: Floating Point Expressions
11 
12 Author:
13 
14  Christoph Wintersteiger (cwinter) 2013-06-10
15 
16 Notes:
17 
18 --*/
19 using System;
20 using System.Collections.Generic;
21 using System.Linq;
22 using System.Text;
23 
25 
26 namespace Microsoft.Z3
27 {
31  public class FPExpr : Expr
32  {
36  public uint EBits { get { return ((FPSort)Sort).EBits; } }
37 
41  public uint SBits { get { return ((FPSort)Sort).EBits; } }
42 
43  #region Internal
44  internal FPExpr(Context ctx, IntPtr obj)
46  : base(ctx, obj)
47  {
48  Contract.Requires(ctx != null);
49  }
50  #endregion
51  }
52 }
Expressions are terms.
Definition: Expr.cs:29
FloatingPoint Expressions
Definition: FPExpr.cs:31
The main interaction with Z3 happens via the Context.
Definition: Context.cs:32
The Sort class implements type information for ASTs.
Definition: Sort.cs:29
FloatingPoint sort
Definition: FPSort.cs:27