tuple_bnottuple_bnotTupleBnotTupleBnottuple_bnot (Operator)

Name

tuple_bnottuple_bnotTupleBnotTupleBnottuple_bnot — Compute the bitwise not of a tuple.

Signature

tuple_bnot( : : T : BNot)

Herror tuple_bnot(const Hlong T, Hlong* BNot)

Herror T_tuple_bnot(const Htuple T, Htuple* BNot)

void TupleBnot(const HTuple& T, HTuple* BNot)

HTuple HTuple::TupleBnot() const

static void HOperatorSet.TupleBnot(HTuple t, out HTuple BNot)

HTuple HTuple.TupleBnot()

def tuple_bnot(t: MaybeSequence[int]) -> Sequence[int]

def tuple_bnot_s(t: MaybeSequence[int]) -> int

Description

tuple_bnottuple_bnotTupleBnotTupleBnotTupleBnottuple_bnot computes the bitwise not of the input tuple TTTTtt. The input tuple must contain only integer numbers.

Exception: Empty input tuple

If the input tuple is empty, the operator returns an empty tuple.

HDevelop In-line Operation

HDevelop provides an in-line operation for tuple_bnottuple_bnotTupleBnotTupleBnotTupleBnottuple_bnot, which can be used in an expression in the following syntax:

BNot := bnot T

Execution Information

Parameters

TTTTtt (input_control)  integer(-array) HTupleMaybeSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Input tuple.

BNotBNotBNotBNotBNotbnot (output_control)  integer(-array) HTupleSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Binary not of the input tuple.

Alternatives

tuple_bandtuple_bandTupleBandTupleBandTupleBandtuple_band, tuple_bortuple_borTupleBorTupleBorTupleBortuple_bor, tuple_bxortuple_bxorTupleBxorTupleBxorTupleBxortuple_bxor

See also

tuple_andtuple_andTupleAndTupleAndTupleAndtuple_and, tuple_ortuple_orTupleOrTupleOrTupleOrtuple_or, tuple_xortuple_xorTupleXorTupleXorTupleXortuple_xor, tuple_nottuple_notTupleNotTupleNotTupleNottuple_not

Module

Foundation