Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for accurate (0.17 sec)

  1. doc/go1.17_spec.html

    The divisor of a constant division or remainder operation must not be zero:
    </p>
    
    <pre>
    3.14 / 0.0   // illegal: division by zero
    </pre>
    
    <p>
    The values of <i>typed</i> constants must always be accurately
    <a href="#Representability">representable</a> by values
    of the constant type. The following constant expressions are illegal:
    </p>
    
    <pre>
    uint(-1)     // -1 cannot be represented as a uint
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  2. doc/go_spec.html

    The divisor of a constant division or remainder operation must not be zero:
    </p>
    
    <pre>
    3.14 / 0.0   // illegal: division by zero
    </pre>
    
    <p>
    The values of <i>typed</i> constants must always be accurately
    <a href="#Representability">representable</a> by values
    of the constant type. The following constant expressions are illegal:
    </p>
    
    <pre>
    uint(-1)     // -1 cannot be represented as a uint
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
Back to top