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.Diagnostics;
20 using System;
21 using System.Collections.Generic;
22 using System.Linq;
23 using System.Text;
24
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).SBits; } }
42
43 #region Internal
45 internal FPExpr(Context ctx, IntPtr obj)
46 : base(ctx, obj)
47 {
48 Debug.Assert(ctx != null);
49 }
50 #endregion
51 }
52}
Microsoft.Z3.Context
The main interaction with Z3 happens via the Context.
Definition: Context.cs:32
Microsoft.Z3.Expr
Expressions are terms.
Definition: Expr.cs:31
Microsoft.Z3.FPExpr
FloatingPoint Expressions
Definition: FPExpr.cs:32
Microsoft.Z3.FPExpr.SBits
uint SBits
The number of significand bits.
Definition: FPExpr.cs:41
Microsoft.Z3.FPExpr.EBits
uint EBits
The number of exponent bits.
Definition: FPExpr.cs:36
Microsoft.Z3.FPSort
FloatingPoint sort
Definition: FPSort.cs:28
Microsoft.Z3.Sort
The Sort class implements type information for ASTs.
Definition: Sort.cs:29
Microsoft.Z3
Definition: AlgebraicNum.cs:27