From: Aina Niemetz Date: Mon, 1 Nov 2021 20:25:32 +0000 (-0700) Subject: api: Fix documentation for kind IAND. (#7536) X-Git-Tag: cvc5-1.0.0~916 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=77416fa5f7cd004bbec3fb4901f47908d1e8fdd4;p=cvc5.git api: Fix documentation for kind IAND. (#7536) --- diff --git a/src/api/cpp/cvc5_kind.h b/src/api/cpp/cvc5_kind.h index a01f84c3f..bece49098 100644 --- a/src/api/cpp/cvc5_kind.h +++ b/src/api/cpp/cvc5_kind.h @@ -377,7 +377,12 @@ enum Kind : int32_t */ MULT, /** - * Operator for Integer AND + * Operator for bit-wise AND over integers, parameterized by a (positive) + * bitwidth k. + * + * ((_ iand k) i1 i2) is equivalent to: + * (bv2int (bvand ((_ int2bv k) i1) ((_ int2bv k) i2))) + * for all integers i1, i2. * * Parameters: * - 1: Size of the bit-vector that determines the semantics of the IAND @@ -385,8 +390,8 @@ enum Kind : int32_t * Create with: * - `Solver::mkOp(Kind kind, uint32_t param) const` * - * Apply integer conversion to bit-vector. - + * Apply integer and. + * * Parameters: * - 1: Op of kind IAND * - 2: Integer term @@ -398,16 +403,17 @@ enum Kind : int32_t */ IAND, /** - * Operator for raising 2 to a non-negative integer power + * Operator for raising 2 to a non-negative integer power. * * Create with: * - `Solver::mkOp(Kind kind) const` * - * Parameters: * - 1: Op of kind IAND * - 2: Integer term * + * Apply 2 to the power operator. + * * Create with: * - `Solver::mkTerm(const Op& op, const Term& child) const` * - `Solver::mkTerm(const Op& op, const std::vector& children) const`