~

From WikiManual
Revision as of 16:39, 12 October 2005 by 216.249.144.14 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The top value of the stack is deconstructed into a bit array. Each element in this array is complimented. That is, if it was a one, it's turned to a zero, and vice versa.

The effect is really quite interesting. The sign of the number changes, and its value becomes significantly different.

0 ~

would be -1 I believe.

64 ~

is -4294967231 I believe.

All values are me working from memory, but you get the idea.