Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,081 for nbits (0.25 sec)

  1. src/math/big/float_test.go

    // addition/subtraction of arguments represented by Bits values with the
    // respective Float addition/subtraction for a variety of precisions
    // and rounding modes.
    func TestFloatAdd(t *testing.T) {
    	for _, xbits := range bitsList {
    		for _, ybits := range bitsList {
    			// exact values
    			x := xbits.Float()
    			y := ybits.Float()
    			zbits := xbits.add(ybits)
    			z := zbits.Float()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 51.9K bytes
    - Viewed (0)
  2. src/math/bits.go

    Russ Cox <******@****.***> 1643915146 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:52:29 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  3. test/fixedbugs/issue14651.go

    func test32(a, b float32) {
    	abits := math.Float32bits(a)
    	bbits := math.Float32bits(b)
    	if abits != bbits {
    		panic(fmt.Sprintf("%08x != %08x\n", abits, bbits))
    	}
    }
    
    func test64(a, b float64) {
    	abits := math.Float64bits(a)
    	bbits := math.Float64bits(b)
    	if abits != bbits {
    		panic(fmt.Sprintf("%016x != %016x\n", abits, bbits))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 22 17:09:29 UTC 2016
    - 1.9K bytes
    - Viewed (0)
  4. src/runtime/fastlog2.go

    	// table with the first 10 bits from the mantissa.
    	xExp := int64((xBits>>52)&0x7FF) - 1023
    	xManIndex := (xBits >> (52 - fastlogNumBits)) % (1 << fastlogNumBits)
    	xManScale := (xBits >> (52 - fastlogNumBits - fastlogScaleBits)) % (1 << fastlogScaleBits)
    
    	low, high := fastlog2Table[xManIndex], fastlog2Table[xManIndex+1]
    	return float64(xExp) + low + (high-low)*float64(xManScale)*fastlogScaleRatio
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 15 22:45:17 UTC 2017
    - 1.2K bytes
    - Viewed (0)
  5. src/runtime/mgcsweep.go

    	if traceAllocFreeEnabled() || debug.clobberfree != 0 || raceenabled || msanenabled || asanenabled {
    		// Find all newly freed objects.
    		mbits := s.markBitsForBase()
    		abits := s.allocBitsForIndex(0)
    		for i := uintptr(0); i < uintptr(s.nelems); i++ {
    			if !mbits.isMarked() && (abits.index < uintptr(s.freeindex) || abits.isMarked()) {
    				x := s.base() + i*s.elemsize
    				if traceAllocFreeEnabled() {
    					trace := traceAcquire()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:52:18 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  6. src/cmd/internal/gcprog/gcprog.go

    //
    // The GC program encodes a sequence of 0 and 1 bits indicating scalar or pointer words in an object.
    // The encoding is a simple Lempel-Ziv program, with codes to emit literal bits and to repeat the
    // last n bits c times.
    //
    // The possible codes are:
    //
    //	00000000: stop
    //	0nnnnnnn: emit n bits copied from the next (n+7)/8 bytes, least significant bit first
    //	10000000 n c: repeat the previous n bits c times; n, c are varints
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  7. src/runtime/mcheckmark.go

    }
    
    // setCheckmark throws if marking object is a checkmarks violation,
    // and otherwise sets obj's checkmark. It returns true if obj was
    // already checkmarked.
    func setCheckmark(obj, base, off uintptr, mbits markBits) bool {
    	if !mbits.isMarked() {
    		printlock()
    		print("runtime: checkmarks found unexpected unmarked object obj=", hex(obj), "\n")
    		print("runtime: found obj at *(", hex(base), "+", hex(off), ")\n")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/inst.json

    [{"Name":"ADC","Bits":"0|0|0|1|1|0|1|0|0|0|0|Rm:5|0|0|0|0|0|0|Rn:5|Rd:5","Arch":"32-bit variant","Syntax":"ADC <Wd>, <Wn>, <Wm>","Code":"","Alias":""},
    {"Name":"ADC","Bits":"1|0|0|1|1|0|1|0|0|0|0|Rm:5|0|0|0|0|0|0|Rn:5|Rd:5","Arch":"64-bit variant","Syntax":"ADC <Xd>, <Xn>, <Xm>","Code":"","Alias":""},
    {"Name":"ADCS","Bits":"0|0|1|1|1|0|1|0|0|0|0|Rm:5|0|0|0|0|0|0|Rn:5|Rd:5","Arch":"32-bit variant","Syntax":"ADCS <Wd>, <Wn>, <Wm>","Code":"","Alias":""},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 17:57:48 UTC 2017
    - 234.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AtomicDouble.java

     * from {@link Double#equals}, as if implemented by:
     *
     * <pre>{@code
     * static boolean bitEquals(double x, double y) {
     *   long xBits = Double.doubleToRawLongBits(x);
     *   long yBits = Double.doubleToRawLongBits(y);
     *   return xBits == yBits;
     * }
     * }</pre>
     *
     * <p>It is possible to write a more scalable updater, at the cost of giving up strict atomicity.
     * See for example <a
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 28 21:00:54 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

     * from {@link Double#equals}, as if implemented by:
     *
     * <pre>{@code
     * static boolean bitEquals(double x, double y) {
     *   long xBits = Double.doubleToRawLongBits(x);
     *   long yBits = Double.doubleToRawLongBits(y);
     *   return xBits == yBits;
     * }
     * }</pre>
     *
     * @author Doug Lea
     * @author Martin Buchholz
     * @since 11.0
     */
    @GwtIncompatible
    @J2ktIncompatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 8K bytes
    - Viewed (0)
Back to top