n~
i1 : 7~ o1 = -8
Note that ~ has higher precedence than -, so enclose negative integers in parentheses.
i2 : (-12)~ o2 = 11
The source of this document is in Macaulay2Doc/operators.m2:438:0.