3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 18:31:49 +00:00

FPA API: dotnet bugfixes

Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
Christoph M. Wintersteiger 2013-06-14 12:25:43 +01:00
parent cc5081587f
commit 4af39b432c

View file

@ -3499,7 +3499,7 @@ namespace Microsoft.Z3
/// </summary>
/// <param name="v">A string representing the value in decimal notation.</param>
/// <param name="s">floating point sort.</param>
public FPNum MkFPNaN(double v, FPSort s)
public FPNum MkFPNaN(FPSort s)
{
Contract.Ensures(Contract.Result<FPRMNum>() != null);
return new FPNum(this, Native.Z3_mk_fpa_nan(nCtx, s.NativeObject));
@ -3511,7 +3511,7 @@ namespace Microsoft.Z3
/// <param name="v">A string representing the value in decimal notation.</param>
/// <param name="s">floating point sort.</param>
/// <param name="negative">indicates whether the result should be negative.</param>
public FPNum MkFPInf(double v, FPSort s, bool negative)
public FPNum MkFPInf(FPSort s, bool negative)
{
Contract.Ensures(Contract.Result<FPRMNum>() != null);
return new FPNum(this, Native.Z3_mk_fpa_inf(nCtx, s.NativeObject, negative ? 1 : 0));