MCPcopy Create free account
hub / github.com/Z3Prover/z3 / isArithmeticNumeral

Method isArithmeticNumeral

src/api/java/Expr.java:458–461  ·  view source on GitHub ↗

Indicates whether the term is an arithmetic numeral. @throws Z3Exception on error @return a boolean

()

Source from the content-addressed store, hash-verified

456 * @return a boolean
457 **/
458 public boolean isArithmeticNumeral()
459 {
460 return isApp() && getFuncDecl().getDeclKind() == Z3_decl_kind.Z3_OP_ANUM;
461 }
462
463 /**
464 * Indicates whether the term is a less-than-or-equal

Callers

nothing calls this directly

Calls 3

getFuncDeclMethod · 0.95
getDeclKindMethod · 0.80
isAppMethod · 0.65

Tested by

no test coverage detected