Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Sub (0.12 sec)

  1. src/archive/tar/strconv.go

    	const maxNanoSecondDigits = 9
    
    	// Split string into seconds and sub-seconds parts.
    	ss, sn, _ := strings.Cut(s, ".")
    
    	// Parse the seconds.
    	secs, err := strconv.ParseInt(ss, 10, 64)
    	if err != nil {
    		return time.Time{}, ErrHeader
    	}
    	if len(sn) == 0 {
    		return time.Unix(secs, 0), nil // No sub-second values
    	}
    
    	// Parse the nanoseconds.
    	if strings.Trim(sn, "0123456789") != "" {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
  2. misc/cgo/gmp/pi.go

    	y2 := k*2 + 1
    	accum.Add(accum, tmp1.Lsh(numer, 1))
    	accum.Mul(accum, tmp1.SetInt64(y2))
    	numer.Mul(numer, tmp1.SetInt64(k))
    	denom.Mul(denom, tmp1.SetInt64(y2))
    }
    
    func eliminateDigit(d int64) {
    	accum.Sub(accum, tmp1.Mul(denom, tmp1.SetInt64(d)))
    	accum.Mul(accum, ten)
    	numer.Mul(numer, ten)
    }
    
    func main() {
    	i := 0
    	k := int64(0)
    	for {
    		d := int64(-1)
    		for d < 0 {
    			k++
    			nextTerm(k)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 10 22:32:35 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  3. misc/cgo/gmp/gmp.go

    func (z *Int) Add(x, y *Int) *Int {
    	x.doinit()
    	y.doinit()
    	z.doinit()
    	C.mpz_add(&z.i[0], &x.i[0], &y.i[0])
    	return z
    }
    
    // Sub sets z = x - y and returns z.
    func (z *Int) Sub(x, y *Int) *Int {
    	x.doinit()
    	y.doinit()
    	z.doinit()
    	C.mpz_sub(&z.i[0], &x.i[0], &y.i[0])
    	return z
    }
    
    // Mul sets z = x * y and returns z.
    func (z *Int) Mul(x, y *Int) *Int {
    	x.doinit()
    	y.doinit()
    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)
  4. api/go1.22.txt

    pkg debug/elf, const R_LARCH_PCREL20_S2 R_LARCH #63725
    pkg debug/elf, const R_LARCH_SUB6 = 106 #63725
    pkg debug/elf, const R_LARCH_SUB6 R_LARCH #63725
    pkg debug/elf, const R_LARCH_SUB_ULEB128 = 108 #63725
    pkg debug/elf, const R_LARCH_SUB_ULEB128 R_LARCH #63725
    pkg debug/elf, const R_MIPS_PC32 = 248 #61974
    pkg debug/elf, const R_MIPS_PC32 R_MIPS #61974
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Jan 24 20:54:27 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/testdata/loong64enc1.s

    	MOVV	$65536, R4		// 04020014
    	MOVV	$4096, R4		// 24000014
    	MOVW	R4, R5			// 85001700
    	MOVV	R4, R5			// 85001500
    	MOVBU	R4, R5			// 85fc4303
    	SUB	R4, R5, R6		// a6101100
    	SUBV	R4, R5, R6		// a6901100
    	ADD	R4, R5, R6		// a6101000
    	ADDV	R4, R5, R6		// a6901000
    	AND	R4, R5, R6		// a6901400
    	SUB	R4, R5			// a5101100
    	SUBV	R4, R5			// a5901100
    	ADD	R4, R5			// a5101000
    	ADDV	R4, R5			// a5901000
    	AND	R4, R5			// a5901400
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 31 02:56:19 GMT 2023
    - 6.4K bytes
    - Viewed (0)
Back to top