next | previous | forward | backward | up | top | index | toc | Macaulay2 website
Macaulay2Doc :: ZZ ~

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: