17 package com.microsoft.z3;
30 Native.IntPtr res =
new Native.IntPtr();
31 if (!Native.fpaGetNumeralSign(getContext().nCtx(), getNativeObject(), res))
32 throw new Z3Exception(
"Sign is not a Boolean value");
33 return res.value != 0;
43 return Native.fpaGetNumeralSignificandString(getContext().nCtx(), getNativeObject());
55 Native.LongPtr res =
new Native.LongPtr();
56 if (!Native.fpaGetNumeralSignificandUint64(getContext().nCtx(), getNativeObject(), res))
57 throw new Z3Exception(
"Significand is not a 64 bit unsigned integer");
66 return Native.fpaGetNumeralExponentString(getContext().nCtx(), getNativeObject());
74 Native.LongPtr res =
new Native.LongPtr();
75 if (!Native.fpaGetNumeralExponentInt64(getContext().nCtx(), getNativeObject(), res))
76 throw new Z3Exception(
"Exponent is not a 64 bit integer");
90 return Native.getNumeralString(getContext().nCtx(), getNativeObject());
long getSignificandUInt64()
FPNum(Context ctx, long obj)
def String(name, ctx=None)