z3-z3-4.13.0.src.api.dotnet.FPExpr.cs Maven / Gradle / Ivy
The newest version!
/*++
Copyright (c) 2013 Microsoft Corporation
Module Name:
FPExpr.cs
Abstract:
Z3 Managed API: Floating Point Expressions
Author:
Christoph Wintersteiger (cwinter) 2013-06-10
Notes:
--*/
using System.Diagnostics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Microsoft.Z3
{
///
/// FloatingPoint Expressions
///
public class FPExpr : Expr
{
///
/// The number of exponent bits.
///
public uint EBits { get { return ((FPSort)Sort).EBits; } }
///
/// The number of significand bits.
///
public uint SBits { get { return ((FPSort)Sort).SBits; } }
#region Internal
/// Constructor for FPExpr
internal FPExpr(Context ctx, IntPtr obj)
: base(ctx, obj)
{
Debug.Assert(ctx != null);
}
#endregion
}
}