Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for addVW (0.05 sec)

  1. src/math/big/arith_decl.go

    //go:linkname subVV
    //go:noescape
    func subVV(z, x, y []Word) (c Word)
    
    // addVW should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/remyoudompheng/bigfft
    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    //go:linkname addVW
    //go:noescape
    func addVW(z, x []Word, y Word) (c Word)
    
    // subVW should be an internal detail,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:15:13 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. src/math/big/arith_ppc64x.s

    	MOVD  8(R8), R11
    	MOVD  8(R9), R16
    	SUBE  R16, R11, R20
    	MOVD  R20, 8(R10)
    
    final:
    	ADDZE R4
    	XOR   $1, R4
    
    done:
    	MOVD  R4, c+72(FP)
    	RET
    
    // func addVW(z, x []Word, y Word) (c Word)
    TEXT ยทaddVW(SB), NOSPLIT, $0
    	MOVD z+0(FP), R10	// R10 = z[]
    	MOVD x+24(FP), R8	// R8 = x[]
    	MOVD y+48(FP), R4	// R4 = y = c
    	MOVD z_len+8(FP), R11	// R11 = z_len
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/test/inl_test.go

    			"flag.kind",
    			"flag.ro",
    		},
    		"regexp": {
    			"(*bitState).push",
    		},
    		"math/big": {
    			"bigEndianWord",
    			// The following functions require the math_big_pure_go build tag.
    			"addVW",
    			"subVW",
    		},
    		"math/rand": {
    			"(*rngSource).Int63",
    			"(*rngSource).Uint64",
    		},
    		"net": {
    			"(*UDPConn).ReadFromUDP",
    		},
    		"sync": {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. src/math/big/nat.go

    		// n == 0 because m >= n; result is 0
    		return z[:0]
    	case n == 0:
    		// result is x
    		return z.set(x)
    	}
    	// m > 0
    
    	z = z.make(m + 1)
    	c := addVV(z[0:n], x, y)
    	if m > n {
    		c = addVW(z[n:m], x[n:], c)
    	}
    	z[m] = c
    
    	return z.norm()
    }
    
    func (z nat) sub(x, y nat) nat {
    	m := len(x)
    	n := len(y)
    
    	switch {
    	case m < n:
    		panic("underflow")
    	case m == 0:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:31:58 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  5. src/math/big/float.go

    		// and it's Below if we truncate (Exact results require no rounding).
    		// For a negative result (z.neg) it is exactly the opposite.
    		z.acc = makeAcc(inc != z.neg)
    
    		if inc {
    			// add 1 to mantissa
    			if addVW(z.mant, z.mant, lsb) != 0 {
    				// mantissa overflow => adjust exponent
    				if z.exp >= MaxExp {
    					// exponent overflow
    					z.form = inf
    					return
    				}
    				z.exp++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 44.5K bytes
    - Viewed (0)
Back to top