Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for negation_0 (0.05 seconds)

  1. doc/go_spec.html

    <p>
    For integer operands, the unary operators
    <code>+</code>, <code>-</code>, and <code>^</code> are defined as
    follows:
    </p>
    
    <pre class="grammar">
    +x                          is 0 + x
    -x    negation              is 0 - x
    ^x    bitwise complement    is m ^ x  with m = "all bits set to 1" for unsigned x
                                          and  m = -1 for signed x
    </pre>
    
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Apr 01 23:39:18 GMT 2026
    - 287.8K bytes
    - Click Count (1)
Back to Top