Search Options

Results per page
Sort
Preferred Languages
Advance

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

  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>
    
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue May 06 19:12:15 UTC 2025
    - 286.2K bytes
    - Viewed (0)
Back to top