Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for 33 (0.12 sec)

  1. doc/go1.17_spec.html

    var w int64 = 1.0<<33          // 1.0<<33 is a constant shift expression; w == 1<<33
    var x = a[1.0<<s]              // panics: 1.0 has type int, but 1<<33 overflows array bounds
    var b = make([]byte, 1.0<<s)   // 1.0 has type int; len(b) == 1<<33
    
    // The results of the following examples are given for 32-bit ints,
    // which means the shifts will overflow.
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  2. doc/go_spec.html

    var w int64 = 1.0<<33          // 1.0<<33 is a constant shift expression; w == 1<<33
    var x = a[1.0<<s]              // panics: 1.0 has type int, but 1<<33 overflows array bounds
    var b = make([]byte, 1.0<<s)   // 1.0 has type int; len(b) == 1<<33
    
    // The results of the following examples are given for 32-bit ints,
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
Back to top