Skip to content

Commit eb210d0

Browse files
committed
Document smt_bit_vector_theoryt::extract
1 parent ecec3b3 commit eb210d0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/solvers/smt2_incremental/smt_bit_vector_theory.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,15 @@ class smt_bit_vector_theoryt
2525
std::vector<smt_indext> indices() const;
2626
void validate(const smt_termt &operand) const;
2727
};
28+
/// \brief
29+
/// Makes a factory for extract function applications.
30+
/// \param i
31+
/// Index of the highest bit to be included in the resulting bit vector.
32+
/// \param j
33+
/// Index of the lowest bit to be included in the resulting bit vector.
34+
/// \note
35+
/// Bit vectors are zero indexed. So the lowest bit index is zero and the
36+
/// largest index is the size of the bit vector minus one.
2837
static smt_function_application_termt::factoryt<extractt>
2938
extract(std::size_t i, std::size_t j);
3039

0 commit comments

Comments
 (0)