Z3
src
api
dotnet
FPSort.cs
Go to the documentation of this file.
1
/*++
2
Copyright (c) 2013 Microsoft Corporation
3
4
Module Name:
5
6
FPSort.cs
7
8
Abstract:
9
10
Z3 Managed API: Floating Point Sorts
11
12
Author:
13
14
Christoph Wintersteiger (cwinter) 2013-06-10
15
16
Notes:
17
18
--*/
19
using
System
;
20
using
System
.
Diagnostics
.
Contracts
;
21
22
namespace
Microsoft
.Z3
23
{
27
public
class
FPSort
:
Sort
28
{
32
public
uint EBits {
get
{
return
Native.Z3_fpa_get_ebits(
Context
.nCtx, NativeObject); } }
33
37
public
uint SBits {
get
{
return
Native.Z3_fpa_get_sbits(
Context
.nCtx, NativeObject); } }
38
39
#region Internal
40
internal
FPSort
(
Context
ctx, IntPtr obj)
41
: base(ctx, obj)
42
{
43
Contract.Requires(ctx != null);
44
}
45
internal
FPSort
(
Context
ctx, uint ebits, uint sbits)
46
: base(ctx, Native.Z3_mk_fpa_sort(ctx.nCtx, ebits, sbits))
47
{
48
Contract.Requires(ctx != null);
49
}
50
#endregion
51
}
52
}
System
System.Diagnostics
Microsoft
z3py.FPSort
def FPSort(ebits, sbits, ctx=None)
Definition:
z3py.py:8556
System.Diagnostics.Contracts
Definition:
DummyContracts.cs:21
Microsoft.Z3.Context
The main interaction with Z3 happens via the Context.
Definition:
Context.cs:32
Microsoft.Z3.Sort
The Sort class implements type information for ASTs.
Definition:
Sort.cs:29
Microsoft.Z3.FPSort
FloatingPoint sort
Definition:
FPSort.cs:27
Generated on Sat Nov 12 2016 23:18:40 for Z3 by
1.8.12