Macaulay2
»
Documentation
Packages
»
Macaulay2Doc
»
The Macaulay2 language
»
operators
»
~
»
~ ZZ
next | previous |
forward
|
backward
|
up
|
index
|
toc
~ ZZ -- logical not
Operator:
~
Usage:
~n
Inputs:
n
,
an
integer
,
Outputs:
an
integer
, the bitwise complement of
n
;
Description
i1 : ~7 o1 = -8
See also
ZZ & ZZ
-- logical and
ZZ | ZZ
-- logical or
ZZ ^^ ZZ
-- logical exclusive-or
Ways to use this method:
~ ZZ
-- logical not
The source of this document is in
Macaulay2Doc/operators.m2:530:0
.