Z3
FPExpr.cs
Go to the documentation of this file.
1/*++
2Copyright (c) 2013 Microsoft Corporation
3
4Module Name:
5
6 FPExpr.cs
7
8Abstract:
9
10 Z3 Managed API: Floating Point Expressions
11
12Author:
13
14 Christoph Wintersteiger (cwinter) 2013-06-10
15
16Notes:
17
18--*/
19using System.Diagnostics;
20using System;
21using System.Collections.Generic;
22using System.Linq;
23using System.Text;
24
25
26namespace 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}
The main interaction with Z3 happens via the Context.
Definition: Context.cs:32
Expressions are terms.
Definition: Expr.cs:31
FloatingPoint Expressions
Definition: FPExpr.cs:32
uint SBits
The number of significand bits.
Definition: FPExpr.cs:41
uint EBits
The number of exponent bits.
Definition: FPExpr.cs:36
FloatingPoint sort
Definition: FPSort.cs:28
The Sort class implements type information for ASTs.
Definition: Sort.cs:29