mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 11:55:51 +00:00
bump version, add double access
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
b1ab473035
commit
694a6a26c9
8 changed files with 37 additions and 24 deletions
|
@ -92,6 +92,14 @@ namespace Microsoft.Z3
|
|||
return Native.Z3_get_numeral_decimal_string(Context.nCtx, NativeObject, precision);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns a double representing the value.
|
||||
/// </summary>
|
||||
public double Double
|
||||
{
|
||||
get { return Native.Z3_get_numeral_double(Context.nCtx, NativeObject); }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns a string representation of the numeral.
|
||||
/// </summary>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue