Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for divider (0.18 sec)

  1. doc/go1.17_spec.html

    int16                  -32768
    int32             -2147483648
    int64    -9223372036854775808
    </pre>
    
    <p>
    If the divisor is a <a href="#Constants">constant</a>, it must not be zero.
    If the divisor is zero at run time, a <a href="#Run_time_panics">run-time panic</a> occurs.
    If the dividend is non-negative and the divisor is a constant power of 2,
    the division may be replaced by a right shift, and computing the remainder may
    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. src/cmd/asm/internal/asm/parse.go

    			if int64(value) < 0 {
    				p.errorf("divide of value with high bit set")
    			}
    			divisor := p.factor()
    			if divisor == 0 {
    				p.errorf("division by zero")
    			} else {
    				value /= divisor
    			}
    		case '%':
    			p.next()
    			divisor := p.factor()
    			if int64(value) < 0 {
    				p.errorf("modulo of value with high bit set")
    			}
    			if divisor == 0 {
    				p.errorf("modulo by zero")
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  3. doc/go_spec.html

    int16                  -32768
    int32             -2147483648
    int64    -9223372036854775808
    </pre>
    
    <p>
    If the divisor is a <a href="#Constants">constant</a>, it must not be zero.
    If the divisor is zero at run time, a <a href="#Run_time_panics">run-time panic</a> occurs.
    If the dividend is non-negative and the divisor is a constant power of 2,
    the division may be replaced by a right shift, and computing the remainder may
    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)
  4. src/cmd/asm/internal/asm/expr_test.go

    	}
    }
    
    type badExprTest struct {
    	input string
    	error string // Empty means no error.
    }
    
    var badExprTests = []badExprTest{
    	{"0/0", "division by zero"},
    	{"3/0", "division by zero"},
    	{"(1<<63)/0", "divide of value with high bit set"},
    	{"3%0", "modulo by zero"},
    	{"(1<<63)%0", "modulo of value with high bit set"},
    	{"3<<-4", "negative left shift count"},
    	{"3<<(1<<63)", "negative left shift count"},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/testdata/ppc64.s

    	DIVDUVCC R3, R4, R5             // 7ca41f93
    	DIVWUVCC R3, R4, R5             // 7ca41f97
    	DIVWUV   R3, R4, R5             // 7ca41f96
    	DIVDE R3, R4, R5                // 7ca41b52
    	DIVDECC R3, R4, R5              // 7ca41b53
    	DIVDEU R3, R4, R5               // 7ca41b12
    	DIVDEUCC R3, R4, R5             // 7ca41b13
    
    	REM R3, R4, R5                  // 7fe41bd67fff19d67cbf2050
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Apr 24 15:53:25 GMT 2024
    - 49K bytes
    - Viewed (0)
  6. misc/cgo/gmp/gmp.go

    func DivModInt(q, r, x, y *Int) {
    	q.doinit()
    	r.doinit()
    	x.doinit()
    	y.doinit()
    	C.mpz_tdiv_qr(&q.i[0], &r.i[0], &x.i[0], &y.i[0])
    }
    
    // GcdInt sets d to the greatest common divisor of a and b,
    // which must be positive numbers.
    // If x and y are not nil, GcdInt sets x and y such that d = a*x + b*y.
    // If either a or b is not positive, GcdInt sets d = x = y = 0.
    func GcdInt(d, x, y, a, b *Int) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Viewed (0)
Back to top