Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.Opens in a new tab

For information on migrating to InterSystems IRISOpens in a new tab, see Why Migrate to InterSystems IRIS?

BitNot 演算子

数値式のビット単位否定を求めます。

Synopsis

result = BitNot expression

引数

BitNot 演算子の構文には以下の構成部分があります。

result 任意の数値変数
expression 任意の式

概要

BitNot 演算子は、任意の変数のビット値を反転し、以下の表に従って result 内に対応するビットを設定します。

expression のビット result のビット
0 1
1 0

関連項目

FeedbackOpens in a new tab