Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setoverflow (0.28 sec)

  1. src/cmd/compile/internal/types2/const.go

    	if x.val.Kind() == constant.Int && constant.BitLen(x.val) > prec {
    		op := opName(x.expr)
    		if op != "" {
    			op += " "
    		}
    		check.errorf(atPos(opPos), InvalidConstVal, "constant %soverflow", op)
    		x.val = constant.MakeUnknown()
    	}
    }
    
    // representableConst reports whether x can be represented as
    // value of the given basic type and for the configuration
    // provided (only needed for int/uint sizes).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. src/go/types/const.go

    	if x.val.Kind() == constant.Int && constant.BitLen(x.val) > prec {
    		op := opName(x.expr)
    		if op != "" {
    			op += " "
    		}
    		check.errorf(atPos(opPos), InvalidConstVal, "constant %soverflow", op)
    		x.val = constant.MakeUnknown()
    	}
    }
    
    // representableConst reports whether x can be represented as
    // value of the given basic type and for the configuration
    // provided (only needed for int/uint sizes).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top