41 if (Native.Z3_fpa_get_numeral_sign(
Context.nCtx, NativeObject, ref res) == 0)
42 throw new Z3Exception(
"Sign is not a Boolean value");
58 return Native.Z3_fpa_get_numeral_significand_string(
Context.nCtx, NativeObject);
75 if (Native.Z3_fpa_get_numeral_significand_uint64(
Context.nCtx, NativeObject, ref result) == 0)
76 throw new Z3Exception(
"Significand is not a 64 bit unsigned integer");
88 return Native.Z3_fpa_get_numeral_exponent_string(
Context.nCtx, NativeObject);
100 if (Native.Z3_fpa_get_numeral_exponent_int64(
Context.nCtx, NativeObject, ref result) == 0)
101 throw new Z3Exception(
"Exponent is not a 64 bit integer");
110 Contract.Requires(ctx !=
null);
119 return Native.Z3_get_numeral_string(
Context.nCtx, NativeObject);
string Exponent
Return the exponent value of a floating-point numeral as a string
bool Sign
Retrieves the sign of a floating-point literal
override string ToString()
Returns a string representation of the numeral.
FloatingPoint Expressions
Int64 ExponentInt64
Return the exponent value of a floating-point numeral as a signed 64-bit integer
The main interaction with Z3 happens via the Context.
The exception base class for error reporting from Z3
string Significand
The significand value of a floating-point numeral as a string
UInt64 SignificandUInt64
The significand value of a floating-point numeral as a UInt64