bitneg
| bitneg | 
  Purpose
 
  
  Synopsis
 
 function bitneg(i:integer):integer
 
  Argument
 
 | 
     i 
     | 
     Integer to negate
     | 
  Return value
 
 
 Negated value of argument.
 
  Example
 
 
 In the following,
 i takes the value -6,
 j takes the value 2147483647, and
 k takes the value -4:
 
 i:= bitneg(5) j:= bitneg(-2147483647-1) k:= bitneg(3)
  Further information
 
 
 The bitwise NOT (or complement) consists in computing the logical negation of each bit: 1 is replaced by 0 and 0 is replaced by 1.
 
 
  Related topics
 
  
