public class FPNum extends FPExpr
| Modifier and Type | Method and Description |
|---|---|
String |
getExponent(boolean biased)
Return the exponent value of a floating-point numeral as a string
Remarks: NaN is an invalid argument.
|
BitVecExpr |
getExponentBV(boolean biased)
The exponent of a floating-point numeral as a bit-vector expression
Remarks: NaN is an invalid argument.
|
long |
getExponentInt64(boolean biased)
Return the exponent value of a floating-point numeral as a signed 64-bit integer
Remarks: NaN is an invalid argument.
|
boolean |
getSign()
Retrieves the sign of a floating-point literal
Remarks: returns true if the numeral is negative
|
BitVecExpr |
getSignBV()
The sign of a floating-point numeral as a bit-vector expression
Remarks: NaN's do not have a bit-vector sign, so they are invalid arguments.
|
String |
getSignificand()
The significand value of a floating-point numeral as a string
Remarks: The significand s is always 0 < s < 2.0; the resulting string is long
enough to represent the real significand precisely.
|
BitVecExpr |
getSignificandBV()
The significand of a floating-point numeral as a bit-vector expression
Remarks: NaN is an invalid argument.
|
long |
getSignificandUInt64()
The significand value of a floating-point numeral as a UInt64
Remarks: This function extracts the significand bits, without the
hidden bit or normalization.
|
boolean |
isInf()
Indicates whether the numeral is a +oo or -oo.
|
boolean |
isNaN()
Indicates whether the numeral is a NaN.
|
boolean |
isNegative()
Indicates whether the numeral is negative.
|
boolean |
isNormal()
Indicates whether the numeral is normal.
|
boolean |
isPositive()
Indicates whether the numeral is positive.
|
boolean |
isSubnormal()
Indicates whether the numeral is subnormal.
|
boolean |
isZero()
Indicates whether the numeral is +zero or -zero.
|
String |
toString()
Returns a string representation of the numeral.
|
distillSort, getArgs, getBoolValue, getFuncDecl, getIndex, getNumArgs, getSort, getString, isAdd, isAlgebraicNumber, isAnd, isArithmeticNumeral, isArray, isArrayMap, isAsArray, isBool, isBV, isBVAdd, isBVAND, isBVBitOne, isBVBitZero, isBVCarry, isBVComp, isBVConcat, isBVExtract, isBVMul, isBVNAND, isBVNOR, isBVNOT, isBVNumeral, isBVOR, isBVReduceAND, isBVReduceOR, isBVRepeat, isBVRotateLeft, isBVRotateLeftExtended, isBVRotateRight, isBVRotateRightExtended, isBVSDiv, isBVSGE, isBVSGT, isBVShiftLeft, isBVShiftRightArithmetic, isBVShiftRightLogical, isBVSignExtension, isBVSLE, isBVSLT, isBVSMod, isBVSRem, isBVSub, isBVToInt, isBVUDiv, isBVUGE, isBVUGT, isBVULE, isBVULT, isBVUMinus, isBVURem, isBVXNOR, isBVXOR, isBVXOR3, isBVZeroExtension, isConcat, isConst, isConstantArray, isDefaultArray, isDistinct, isDiv, isEmptyRelation, isEq, isFalse, isFiniteDomain, isFiniteDomainLT, isGE, isGT, isIDiv, isIff, isImplies, isInt, isIntNum, isIntToBV, isIntToReal, isIsEmptyRelation, isITE, isLabel, isLabelLit, isLE, isLT, isModulus, isMul, isNot, isNumeral, isOEQ, isOr, isProofAndElimination, isProofApplyDef, isProofAsserted, isProofCommutativity, isProofDefAxiom, isProofDefIntro, isProofDER, isProofDistributivity, isProofElimUnusedVars, isProofGoal, isProofHypothesis, isProofIFFFalse, isProofIFFOEQ, isProofIFFTrue, isProofLemma, isProofModusPonens, isProofModusPonensOEQ, isProofMonotonicity, isProofNNFNeg, isProofNNFPos, isProofOrElimination, isProofPullQuant, isProofPushQuant, isProofQuantInst, isProofQuantIntro, isProofReflexivity, isProofRewrite, isProofRewriteStar, isProofSkolemize, isProofSymmetry, isProofTheoryLemma, isProofTransitivity, isProofTransitivityStar, isProofTrue, isProofUnitResolution, isRatNum, isReal, isRealIsInt, isRealToInt, isRelation, isRelationalJoin, isRelationClone, isRelationComplement, isRelationFilter, isRelationNegationFilter, isRelationProject, isRelationRename, isRelationSelect, isRelationStore, isRelationUnion, isRelationWiden, isRemainder, isSelect, isSetComplement, isSetDifference, isSetIntersect, isSetSubset, isSetUnion, isStore, isString, isSub, isTrue, isUMinus, isWellSorted, isXor, simplify, simplify, substitute, substitute, substituteVars, translate, updatecompareTo, equals, getASTKind, getId, getSExpr, hashCode, isApp, isExpr, isFuncDecl, isQuantifier, isSort, isVararrayLength, arrayToNativepublic FPNum(Context ctx, long obj)
public boolean getSign()
Z3Exceptionpublic BitVecExpr getSignBV()
Z3Exceptionpublic String getSignificand()
Z3Exceptionpublic long getSignificandUInt64()
Z3Exceptionpublic BitVecExpr getSignificandBV()
Z3Exceptionpublic String getExponent(boolean biased)
Z3Exceptionpublic long getExponentInt64(boolean biased)
Z3Exceptionpublic BitVecExpr getExponentBV(boolean biased)
Z3Exceptionpublic boolean isNaN()
Z3Exception - on errorpublic boolean isInf()
Z3Exception - on errorpublic boolean isZero()
Z3Exception - on errorpublic boolean isNormal()
Z3Exception - on errorpublic boolean isSubnormal()
Z3Exception - on errorpublic boolean isPositive()
Z3Exception - on errorpublic boolean isNegative()
Z3Exception - on error