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
using System
Definition:
InterpolationContext.cs:7
Microsoft.Z3.Native
Definition:
Native.cs:40
System
Microsoft
Microsoft.Z3.Native.Z3_mk_fpa_sort
static Z3_sort Z3_mk_fpa_sort(Z3_context a0, uint a1, uint a2)
Definition:
Native.cs:6370
Microsoft.Z3.Native.Z3_fpa_get_ebits
static uint Z3_fpa_get_ebits(Z3_context a0, Z3_sort a1)
Definition:
Native.cs:6770
z3py.FPSort
def FPSort(ebits, sbits, ctx=None)
Definition:
z3py.py:8119
Microsoft.Z3.Context
The main interaction with Z3 happens via the Context.
Definition:
Context.cs:31
Microsoft.Z3.Sort
The Sort class implements type information for ASTs.
Definition:
Sort.cs:29
Microsoft.Z3.FPSort
FloatingPoint sort
Definition:
FPSort.cs:27
Microsoft.Z3.Native.Z3_fpa_get_sbits
static uint Z3_fpa_get_sbits(Z3_context a0, Z3_sort a1)
Definition:
Native.cs:6778
Generated on Tue Jul 19 2016 21:26:48 for Z3 by
1.8.11