vipsi - the friendly vip script interpreter

Operators

Bitwise Not "~"

<number> = ~<number>

Operators: Bitwise Not "~"Bit toggle, bitwise Operators: Boolean Negation "!"negation.

Flow control: if … then
Flow control: try … then
The
Add "+": Monadic operator "+"
Subtract "-": Monadic operator "-"
Built-in operators: monadic operators:
monadic operator
~ Flow control: returnreturns Flow control: if … then
Flow control: try … then
the
2'Operators: Bitwise Not "~"s complement of Flow control: if … then
Flow control: try … then
the
supplied numeric Glossary: Valuevalue.
List functions: thisThis is Flow control: if … then
Flow control: try … then
the
same as subtracting it from -1.

e.g.:

vipsi> Instructions: putput ~20  -21
vipsi> Instructions: putput ~1.5  -2.5

Valid HTML   Valid CSS