Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Integer_overflow (0.28 sec)

  1. doc/go_spec.html

    the most negative value for the int type of <code>x</code>, the quotient
    <code>q = x / -1</code> is equal to <code>x</code> (and <code>r = 0</code>)
    due to two's-complement <a href="#Integer_overflow">integer overflow</a>:
    </p>
    
    <pre>
                             x, q
    int8                     -128
    int16                  -32768
    int32             -2147483648
    int64    -9223372036854775808
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 00:58:01 UTC 2024
    - 282.5K bytes
    - Viewed (0)
Back to top