Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for untyped (0.2 sec)

  1. doc/go1.17_spec.html

    list: integer, rune, floating-point, complex.
    For example, an untyped integer constant divided by an
    untyped complex constant yields an untyped complex constant.
    </p>
    
    <pre>
    const a = 2 + 3.0          // a == 5.0   (untyped floating-point constant)
    const b = 15 / 4           // b == 3     (untyped integer constant)
    const c = 15 / 4.0         // c == 3.75  (untyped floating-point constant)
    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

    list: integer, rune, floating-point, complex.
    For example, an untyped integer constant divided by an
    untyped complex constant yields an untyped complex constant.
    </p>
    
    <pre>
    const a = 2 + 3.0          // a == 5.0   (untyped floating-point constant)
    const b = 15 / 4           // b == 3     (untyped integer constant)
    const c = 15 / 4.0         // c == 3.75  (untyped floating-point constant)
    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