Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 11 of 11 for oo (0.02 sec)

  1. doc/go_spec.html

    // The results of the following examples are given for 32-bit ints,
    // which means the shifts will overflow.
    var mm int = 1.0<<s            // 1.0 has type int; mm == 0
    var oo = 1<<s == 2<<s          // 1 and 2 have type int; oo == true
    var pp = 1<<s == 1<<33         // illegal: 1 has type int, but 1<<33 overflows int
    var xx = a[1.0<<s]             // 1.0 has type int; xx == a[0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (1)
Back to top