Macaulay2 » Documentation
Packages » Macaulay2Doc :: ZZ ~
next | previous | forward | backward | up | index | toc

ZZ ~ -- logical not

Synopsis

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: