Operator Reference

tuple_bnottuple_bnotTupleBnotTupleBnottuple_bnot (Operator)

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_bnotTupleBnotTupleBnottuple_bnot computes the bitwise not of the input tuple TTTtt. 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_bnotTupleBnotTupleBnottuple_bnot, which can be used in an expression in the following syntax:

BNot := bnot T

Execution Information

  • Multithreading type: independent (runs in parallel even with exclusive operators).
  • Multithreading scope: global (may be called from any thread).
  • Processed without parallelization.

Parameters

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

Input tuple.

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

Binary not of the input tuple.

Alternatives

tuple_bandtuple_bandTupleBandTupleBandtuple_band, tuple_bortuple_borTupleBorTupleBortuple_bor, tuple_bxortuple_bxorTupleBxorTupleBxortuple_bxor

See also

tuple_andtuple_andTupleAndTupleAndtuple_and, tuple_ortuple_orTupleOrTupleOrtuple_or, tuple_xortuple_xorTupleXorTupleXortuple_xor, tuple_nottuple_notTupleNotTupleNottuple_not

Module

Foundation