@@ -121,6 +121,8 @@ inline bitnot_exprt &to_bitnot_expr(exprt &expr)
121121}
122122
123123// / \brief Bit-wise OR
124+ // / Any number of operands that is greater or equal one.
125+ // / The type of all operands must be the same.
124126class bitor_exprt : public multi_ary_exprt
125127{
126128public:
@@ -162,6 +164,8 @@ inline bitor_exprt &to_bitor_expr(exprt &expr)
162164
163165// / \brief Bit-wise NOR
164166// /
167+ // / Any number of operands that is greater or equal one.
168+ // / The type of all operands must be the same.
165169// / When given one operand, this is equivalent to the bit-wise negation.
166170// / When given three or more operands, this is equivalent to the bit-wise
167171// / negation of the bitand expression with the same operands.
@@ -205,6 +209,8 @@ inline bitnor_exprt &to_bitnor_expr(exprt &expr)
205209}
206210
207211// / \brief Bit-wise XOR
212+ // / Any number of operands that is greater or equal one.
213+ // / The type of all operands must be the same.
208214class bitxor_exprt : public multi_ary_exprt
209215{
210216public:
@@ -246,6 +252,8 @@ inline bitxor_exprt &to_bitxor_expr(exprt &expr)
246252
247253// / \brief Bit-wise XNOR
248254// /
255+ // / Any number of operands that is greater or equal one.
256+ // / The type of all operands must be the same.
249257// / When given one operand, this is equivalent to the bit-wise negation.
250258// / When given three or more operands, this is equivalent to the bit-wise
251259// / negation of the bitxor expression with the same operands.
@@ -291,6 +299,8 @@ inline bitxnor_exprt &to_bitxnor_expr(exprt &expr)
291299}
292300
293301// / \brief Bit-wise AND
302+ // / Any number of operands that is greater or equal one.
303+ // / The type of all operands must be the same.
294304class bitand_exprt : public multi_ary_exprt
295305{
296306public:
@@ -332,6 +342,8 @@ inline bitand_exprt &to_bitand_expr(exprt &expr)
332342
333343// / \brief Bit-wise NAND
334344// /
345+ // / Any number of operands that is greater or equal one.
346+ // / The type of all operands must be the same.
335347// / When given one operand, this is equivalent to the bit-wise negation.
336348// / When given three or more operands, this is equivalent to the bit-wise
337349// / negation of the bitand expression with the same operands.
0 commit comments