Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Representability (0.24 sec)

  1. doc/go1.17_spec.html

    </li>
    <li>
    <code>x</code> is an untyped <a href="#Constants">constant</a>
    <a href="#Representability">representable</a>
    by a value of type <code>T</code>.
    </li>
    </ul>
    
    
    <h3 id="Representability">Representability</h3>
    
    <p>
    A <a href="#Constants">constant</a> <code>x</code> is <i>representable</i>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  2. doc/go_spec.html

    <li>
    <code>V</code> is a type parameter and <code>T</code> is not a named type,
    and values of each type in <code>V</code>'s type set are assignable
    to <code>T</code>.
    </li>
    </ul>
    
    <h3 id="Representability">Representability</h3>
    
    <p>
    A <a href="#Constants">constant</a> <code>x</code> is <i>representable</i>
    by a value of type <code>T</code>,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (1)
  3. src/go/types/expr.go

    			check.errorf(y, InvalidShiftCount, invalidOp+"negative shift count %s", y)
    			x.mode = invalid
    			return
    		}
    
    		if isUntyped(y.typ) {
    			// Caution: Check for representability here, rather than in the switch
    			// below, because isInteger includes untyped integers (was bug go.dev/issue/43697).
    			check.representable(y, Typ[Uint])
    			if y.mode == invalid {
    				x.mode = invalid
    				return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/expr.go

    			check.errorf(y, InvalidShiftCount, invalidOp+"negative shift count %s", y)
    			x.mode = invalid
    			return
    		}
    
    		if isUntyped(y.typ) {
    			// Caution: Check for representability here, rather than in the switch
    			// below, because isInteger includes untyped integers (was bug go.dev/issue/43697).
    			check.representable(y, Typ[Uint])
    			if y.mode == invalid {
    				x.mode = invalid
    				return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
Back to top