Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 111 for REM (0.1 sec)

  1. src/cmd/compile/internal/ssa/_gen/RISCV64Ops.go

    		{name: "DIVW", argLength: 2, reg: gp21, asm: "DIVW", typ: "Int32"},
    		{name: "DIVUW", argLength: 2, reg: gp21, asm: "DIVUW", typ: "UInt32"},
    		{name: "REM", argLength: 2, reg: gp21, asm: "REM", typ: "Int64"}, // arg0 % arg1
    		{name: "REMU", argLength: 2, reg: gp21, asm: "REMU", typ: "UInt64"},
    		{name: "REMW", argLength: 2, reg: gp21, asm: "REMW", typ: "Int32"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  2. src/go/constant/value.go

    			c.Sub(a, b)
    		case token.MUL:
    			c.Mul(a, b)
    		case token.QUO:
    			return makeRat(newRat().SetFrac(a, b))
    		case token.QUO_ASSIGN: // force integer division
    			c.Quo(a, b)
    		case token.REM:
    			c.Rem(a, b)
    		case token.AND:
    			c.And(a, b)
    		case token.OR:
    			c.Or(a, b)
    		case token.XOR:
    			c.Xor(a, b)
    		case token.AND_NOT:
    			c.AndNot(a, b)
    		default:
    			goto Error
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 34K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/testdata/mips64.s

    //	}
    	DIV	R18, R22	// 02d2001a
    	DIVU	R14, R9		// 012e001b
    	DIVV	R8, R13		// 01a8001e
    	DIVVU	R16, R19	// 0270001f
    
    //	LREM rreg ',' rreg
    //	{
    //		outcode(int($1), &$2, 0, &$4);
    //	}
    	REM	R18, R22	// 02d2001a
    	REMU	R14, R9		// 012e001b
    	REMV	R8, R13		// 01a8001e
    	REMVU	R16, R19	// 0270001f
    
    //	LSHW rreg ',' sreg ',' rreg
    //	{
    //		outcode(int($1), &$2, int($4), &$6);
    //	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 08 12:17:12 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  4. test/prove.go

    func and(p []byte) ([]byte, []byte) { // issue #52563
    	const blocksize = 16
    	fullBlocks := len(p) &^ (blocksize - 1)
    	blk := p[:fullBlocks] // ERROR "Proved IsSliceInBounds$"
    	rem := p[fullBlocks:] // ERROR "Proved IsSliceInBounds$"
    	return blk, rem
    }
    
    func rshu(x, y uint) int {
    	z := x >> y
    	if z <= x { // ERROR "Proved Leq64U$"
    		return 1
    	}
    	return 0
    }
    
    func divu(x, y uint) int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 23 00:02:36 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/noder/noder.go

    	syntax.Gtr: ir.OGT,
    	syntax.Geq: ir.OGE,
    
    	syntax.Add: ir.OADD,
    	syntax.Sub: ir.OSUB,
    	syntax.Or:  ir.OOR,
    	syntax.Xor: ir.OXOR,
    
    	syntax.Mul:    ir.OMUL,
    	syntax.Div:    ir.ODIV,
    	syntax.Rem:    ir.OMOD,
    	syntax.And:    ir.OAND,
    	syntax.AndNot: ir.OANDNOT,
    	syntax.Shl:    ir.OLSH,
    	syntax.Shr:    ir.ORSH,
    }
    
    // error is called concurrently if files are parsed concurrently.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 11 20:40:57 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  6. src/math/big/int_test.go

    		q := NewInt(test.q)
    		r := NewInt(test.r)
    		d := NewInt(test.d)
    		m := NewInt(test.m)
    
    		q1 := new(Int).Quo(x, y)
    		r1 := new(Int).Rem(x, y)
    		if !isNormalized(q1) {
    			t.Errorf("#%d Quo: %v is not normalized", i, *q1)
    		}
    		if !isNormalized(r1) {
    			t.Errorf("#%d Rem: %v is not normalized", i, *r1)
    		}
    		if q1.Cmp(q) != 0 || r1.Cmp(r) != 0 {
    			t.Errorf("#%d QuoRem: got (%s, %s), want (%s, %s)", i, q1, r1, q, r)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/expr.go

    	syntax.Geq: token.GEQ,
    
    	syntax.Add: token.ADD,
    	syntax.Sub: token.SUB,
    	syntax.Or:  token.OR,
    	syntax.Xor: token.XOR,
    
    	syntax.Mul:    token.MUL,
    	syntax.Div:    token.QUO,
    	syntax.Rem:    token.REM,
    	syntax.And:    token.AND,
    	syntax.AndNot: token.AND_NOT,
    	syntax.Shl:    token.SHL,
    	syntax.Shr:    token.SHR,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  8. src/go/constant/value_test.go

    		}
    	}
    
    	return MakeFromLiteral(lit, tok, 0)
    }
    
    var optab = map[string]token.Token{
    	"!": token.NOT,
    
    	"+": token.ADD,
    	"-": token.SUB,
    	"*": token.MUL,
    	"/": token.QUO,
    	"%": token.REM,
    
    	"<<": token.SHL,
    	">>": token.SHR,
    
    	"&":  token.AND,
    	"|":  token.OR,
    	"^":  token.XOR,
    	"&^": token.AND_NOT,
    
    	"==": token.EQL,
    	"!=": token.NEQ,
    	"<":  token.LSS,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 15.6K bytes
    - Viewed (0)
  9. src/runtime/sys_linux_riscv64.s

    	RET
    
    // func usleep(usec uint32)
    TEXT runtimeĀ·usleep(SB),NOSPLIT,$24-4
    	MOVWU	usec+0(FP), A0
    	MOV	$1000, A1
    	MUL	A1, A0, A0
    	MOV	$1000000000, A1
    	DIV	A1, A0, A2
    	MOV	A2, 8(X2)
    	REM	A1, A0, A3
    	MOV	A3, 16(X2)
    	ADD	$8, X2, A0
    	MOV	ZERO, A1
    	MOV	$SYS_nanosleep, A7
    	ECALL
    	RET
    
    // func gettid() uint32
    TEXT runtimeĀ·gettid(SB),NOSPLIT,$0-4
    	MOV	$SYS_gettid, A7
    	ECALL
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 13:57:06 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  10. src/math/big/int.go

    	z.neg = len(z.abs) > 0 && x.neg != y.neg // 0 has no sign
    	return z
    }
    
    // Rem sets z to the remainder x%y for y != 0 and returns z.
    // If y == 0, a division-by-zero run-time panic occurs.
    // Rem implements truncated modulus (like Go); see [Int.QuoRem] for more details.
    func (z *Int) Rem(x, y *Int) *Int {
    	_, z.abs = nat(nil).div(z.abs, x.abs, y.abs)
    	z.neg = len(z.abs) > 0 && x.neg // 0 has no sign
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 17:02:38 UTC 2024
    - 33.1K bytes
    - Viewed (0)
Back to top