Macaulay2
»
Documentation
Packages
»
Macaulay2Doc
::
ZZ | ZZ
next
|
previous
|
forward
|
backward
| up |
index
|
toc
ZZ | ZZ -- logical or
Synopsis
Operator:
|
Usage:
m | n
Inputs:
m
,
an
integer
n
,
an
integer
Outputs:
an
integer
, obtained from the bits of the integers
m
and
n
by logical 'or'.
Description
i1 : 2^42 | 2^15 == 2^42 + 2^15 o1 = true
See also
ZZ & ZZ
-- logical and
ZZ ^^ ZZ
-- logical exclusive-or
ZZ ~
-- logical not
Ways to use this method:
ZZ | ZZ
-- logical or