Macaulay2 » Documentation
Packages » Macaulay2Doc » The Macaulay2 language » operators » ~ » ZZ ~
next | previous | forward | backward | up | index | toc

ZZ ~ -- logical not

Description

i1 : 7~

o1 = -8

Note that ~ has higher precedence than -, so enclose negative integers in parentheses.

i2 : (-12)~

o2 = 11

See also

Ways to use this method:

  • ZZ ~ -- logical not

The source of this document is in Macaulay2Doc/operators.m2:438:0.