tuple_bnottuple_bnotTupleBnotTupleBnottuple_bnot (算子)

名称

tuple_bnottuple_bnotTupleBnotTupleBnottuple_bnot — 计算元组的位非。

签名

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

描述

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

例外:空输入元组

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

HDevelop 内联操作

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

执行信息

参数

TTTTtt (输入控制)  integer(-array) HTupleMaybeSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Input tuple.

BNotBNotBNotBNotBNotbnot (输出控制)  integer(-array) HTupleSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Binary not of the input tuple.

替代

tuple_bandtuple_bandTupleBandTupleBandTupleBandtuple_band, tuple_bortuple_borTupleBorTupleBorTupleBortuple_bor, tuple_bxortuple_bxorTupleBxorTupleBxorTupleBxortuple_bxor

另见

tuple_andtuple_andTupleAndTupleAndTupleAndtuple_and, tuple_ortuple_orTupleOrTupleOrTupleOrtuple_or, tuple_xortuple_xorTupleXorTupleXorTupleXortuple_xor, tuple_nottuple_notTupleNotTupleNotTupleNottuple_not

模块

基础