Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for leading (0.19 sec)

  1. doc/go_mem.html

    <p>
    That is, the compiler must not rewrite the program into this one:
    </p>
    
    <pre>
    *p = 2
    if !cond {
    	*p = 1
    }
    </pre>
    
    <p>
    If <code>cond</code> is false and another goroutine is reading <code>*p</code>,
    then in the original program, the other goroutine can only observe any prior value of <code>*p</code> and <code>1</code>.
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  2. doc/go1.17_spec.html

    </pre>
    
    <p>
    For backward compatibility, an imaginary literal's integer part consisting
    entirely of decimal digits (and possibly underscores) is considered a decimal
    integer, even if it starts with a leading <code>0</code>.
    </p>
    
    <pre>
    0i
    0123i         // == 123i for backward-compatibility
    0o123i        // == 0o123 * 1i == 83i
    0xabci        // == 0xabc * 1i == 2748i
    0.i
    2.71828i
    1.e+0i
    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)
  3. doc/go_spec.html

    </pre>
    
    <p>
    For backward compatibility, an imaginary literal's integer part consisting
    entirely of decimal digits (and possibly underscores) is considered a decimal
    integer, even if it starts with a leading <code>0</code>.
    </p>
    
    <pre>
    0i
    0123i         // == 123i for backward-compatibility
    0o123i        // == 0o123 * 1i == 83i
    0xabci        // == 0xabc * 1i == 2748i
    0.i
    2.71828i
    1.e+0i
    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