Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 278 for bbit (0.03 sec)

  1. src/math/big/bits_test.go

    	if prec >= prec0 {
    		return x.Float()
    	}
    	// prec < prec0
    
    	// determine bit 0, rounding, and sticky bit, and result bits z
    	var bit0, rbit, sbit uint
    	var z Bits
    	r := max - int(prec)
    	for _, b := range x {
    		switch {
    		case b == r:
    			rbit = 1
    		case b < r:
    			sbit = 1
    		default:
    			// b > r
    			if b == r+1 {
    				bit0 = 1
    			}
    			z = append(z, b)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. src/math/big/float.go

    	r := uint(bits - z.prec - 1) // rounding bit position; r >= 0
    	rbit := z.mant.bit(r) & 1    // rounding bit; be safe and ensure it's a single bit
    	// The sticky bit is only needed for rounding ToNearestEven
    	// or when the rounding bit is zero. Avoid computation otherwise.
    	if sbit == 0 && (rbit == 0 || z.mode == ToNearestEven) {
    		sbit = z.mant.sticky(r)
    	}
    	sbit &= 1 // be safe and ensure it's a single bit
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 44.5K bytes
    - Viewed (0)
  3. src/crypto/rsa/rsa.go

    		bN, bE, bD, bP, bQ, bDp, bDq, bQinv, err := boring.GenerateKeyRSA(bits)
    		if err != nil {
    			return nil, err
    		}
    		N := bbig.Dec(bN)
    		E := bbig.Dec(bE)
    		D := bbig.Dec(bD)
    		P := bbig.Dec(bP)
    		Q := bbig.Dec(bQ)
    		Dp := bbig.Dec(bDp)
    		Dq := bbig.Dec(bDq)
    		Qinv := bbig.Dec(bQinv)
    		e64 := E.Int64()
    		if !E.IsInt64() || int64(int(e64)) != e64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/prepare-tf-fake-quant-4bit.mlir

    Christian Sigg <******@****.***> 1714640622 -0700
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 22K bytes
    - Viewed (0)
  5. src/crypto/ecdsa/ecdsa.go

    	if boring.Enabled && rand == boring.RandReader {
    		x, y, d, err := boring.GenerateKeyECDSA(c.Params().Name)
    		if err != nil {
    			return nil, err
    		}
    		return &PrivateKey{PublicKey: PublicKey{Curve: c, X: bbig.Dec(x), Y: bbig.Dec(y)}, D: bbig.Dec(d)}, nil
    	}
    	boring.UnreachableExceptTests()
    
    	switch c.Params() {
    	case elliptic.P224().Params():
    		return generateNISTEC(p224(), rand)
    	case elliptic.P256().Params():
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  6. test/codegen/mathbits.go

    // and do not cause unnecessary save/restore of the CA bit.
    //
    // This is an example of why CarryChainTail priority must be lower
    // (earlier in the block) than Memory. f[0]=f1 could be scheduled
    // after the first two lower 64 bit limb adds, but before either
    // high 64 bit limbs are added.
    //
    // This is what happened on PPC64 when compiling
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:51:17 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  7. src/runtime/mbitmap.go

    }
    
    // markBits provides access to the mark bit for an object in the heap.
    // bytep points to the byte holding the mark bit.
    // mask is a byte with a single bit set that can be &ed with *bytep
    // to see if the bit has been set.
    // *m.byte&m.mask != 0 indicates the mark bit is set.
    // index can be used along with span information to generate
    // the address of the object in the heap.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/ARM64Ops.go

    //    register (R27).
    //  - All 32-bit Ops will zero the upper 32 bits of the destination register.
    
    // Suffixes encode the bit width of various instructions.
    // D (double word) = 64 bit
    // W (word)        = 32 bit
    // H (half word)   = 16 bit
    // HU              = 16 bit unsigned
    // B (byte)        = 8 bit
    // BU              = 8 bit unsigned
    // S (single)      = 32 bit float
    // D (double)      = 64 bit float
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 58.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/utils/convert_type.cc

        switch (itype.getWidth()) {
          case 1:
            return tflite::TensorType_BOOL;
          case 4:
            if (itype.isUnsigned())
              llvm_unreachable("invalid unsigned 4bit integer Type in conversion");
            else
              return tflite::TensorType_INT4;
          case 8:
            if (itype.isUnsigned())
              return tflite::TensorType_UINT8;
            else
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 23:04:40 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. src/internal/runtime/atomic/atomic_andor_test.go

    		old := x
    		v := atomic.Or32(&x, 1<<i)
    		if r := (uint32(1) << (i + 1)) - 1; x != r || v != old {
    			t.Fatalf("setting bit %#x: want %#x, got new %#x and old %#v", uint32(1<<i), r, x, v)
    		}
    	}
    
    	// Start with every bit in array set to 0.
    	a := make([]uint32, 1<<12)
    
    	// Set every bit in array bit-by-bit in different goroutines.
    	done := make(chan bool)
    	for i := 0; i < 32; i++ {
    		m := uint32(1 << i)
    		go func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Apr 27 20:49:32 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top