Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 225 for NEG (0.03 sec)

  1. src/runtime/conv_wasm_test.go

    			convInt64:  -0x8000000000000000,
    			convUInt64: 0x8000000000000000,
    		},
    		{
    			input:      0x7ffffffffffffffe,
    			convInt64:  -0x8000000000000000,
    			convUInt64: 0x8000000000000000,
    		},
    		// neg max +- 1
    		{
    			input:      -0x8000000000000000,
    			convInt64:  -0x8000000000000000,
    			convUInt64: 0x8000000000000000,
    		},
    		{
    			input:      -0x8000000000000001,
    			convInt64:  -0x8000000000000000,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 06 13:55:00 UTC 2020
    - 3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/MathBenchmarking.java

        while (true) {
          if (RANDOM_SOURCE.nextBoolean()) {
            return randomNonNegativeBigInteger(numBits);
          }
          BigInteger neg = randomNonNegativeBigInteger(numBits).negate();
          if (neg.signum() != 0) {
            return neg;
          }
        }
      }
    
      /**
       * Generates a number in [0, 2^numBits) with an exponential distribution. The floor of the log2 of
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.1K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/ops/gen/cpp/golden/testing_ops.cc.golden

    namespace tensorflow {
    namespace ops {
    
    // Op: Neg()
    // Summary:
    //
    // Description:
    Status Neg(AbstractContext* ctx, AbstractTensorHandle* const x, AbstractTensorHandle** y, const char* name, const char* raw_device_name) {
      AbstractOperationPtr op_ptr(ctx->CreateOperation());
      TF_RETURN_IF_ERROR(op_ptr->Reset("Neg", raw_device_name));
      TF_RETURN_IF_ERROR(MaybeSetOpName(op_ptr.get(), name));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 16 19:04:03 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  4. src/strconv/itoa.go

    // formatBits computes the string representation of u in the given base.
    // If neg is set, u is treated as negative int64 value. If append_ is
    // set, the string is appended to dst and the resulting byte slice is
    // returned as the first result value; otherwise the string is returned
    // as the second result value.
    func formatBits(dst []byte, u uint64, base int, neg, append_ bool) (d []byte, s string) {
    	if base < 2 || base > len(digits) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. src/strconv/atoi.go

    	}
    
    	if bitSize == 0 {
    		bitSize = IntSize
    	}
    
    	cutoff := uint64(1 << uint(bitSize-1))
    	if !neg && un >= cutoff {
    		return int64(cutoff - 1), rangeError(fnParseInt, s0)
    	}
    	if neg && un > cutoff {
    		return -int64(cutoff), rangeError(fnParseInt, s0)
    	}
    	n := int64(un)
    	if neg {
    		n = -n
    	}
    	return n, nil
    }
    
    // Atoi is equivalent to ParseInt(s, 10, 0), converted to type int.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 05 00:24:26 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. test/chan/powser2.go

    		Printn(Integ(zero, Ones), 10)
    		print("CMul: ")
    		Printn(Cmul(neg(one), Ones), 10)
    		print("Sub: ")
    		Printn(Sub(Ones, Twos), 10)
    		print("Mul: ")
    		Printn(Mul(Ones, Ones), 10)
    		print("Exp: ")
    		Printn(Exp(Ones), 15)
    		print("MonSubst: ")
    		Printn(MonSubst(Ones, neg(one), 2), 10)
    		print("ATan: ")
    		Printn(Integ(zero, MonSubst(Ones, neg(one), 2)), 10)
    	} else { // test
    		check(Ones, one, 5, "Ones")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 25 22:22:20 UTC 2020
    - 13.3K bytes
    - Viewed (0)
  7. src/runtime/sys_freebsd_riscv64.s

    	MOV	uaddr1+16(FP), A3
    	MOV	ut+24(FP), A4
    	MOV	$SYS__umtx_op, T0
    	ECALL
    	BEQ	T0, ZERO, ok
    	NEG	A0, A0
    ok:
    	MOVW	A0, ret+32(FP)
    	RET
    
    // func thr_new(param *thrparam, size int32) int32
    TEXT runtime·thr_new(SB),NOSPLIT,$0
    	MOV	param+0(FP), A0
    	MOVW	size+8(FP), A1
    	MOV	$SYS_thr_new, T0
    	ECALL
    	BEQ	T0, ZERO, ok
    	NEG	A0, A0
    ok:
    	MOVW	A0, ret+16(FP)
    	RET
    
    // func thr_start()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewriteRISCV64.go

    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	// match: (FMADDD neg:(FNEGD x) y z)
    	// cond: neg.Uses == 1
    	// result: (FNMSUBD x y z)
    	for {
    		for _i0 := 0; _i0 <= 1; _i0, v_0, v_1 = _i0+1, v_1, v_0 {
    			neg := v_0
    			if neg.Op != OpRISCV64FNEGD {
    				continue
    			}
    			x := neg.Args[0]
    			y := v_1
    			z := v_2
    			if !(neg.Uses == 1) {
    				continue
    			}
    			v.reset(OpRISCV64FNMSUBD)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 205.1K bytes
    - Viewed (0)
  9. src/math/big/ratmarsh.go

    		// this should never happen
    		return nil, errors.New("Rat.GobEncode: numerator too large")
    	}
    	byteorder.BePutUint32(buf[j-4:j], uint32(n))
    	j -= 1 + 4
    	b := ratGobVersion << 1 // make space for sign bit
    	if x.a.neg {
    		b |= 1
    	}
    	buf[j] = b
    	return buf[j:], nil
    }
    
    // GobDecode implements the [encoding/gob.GobDecoder] interface.
    func (z *Rat) GobDecode(buf []byte) error {
    	if len(buf) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:31:58 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/gradients/math_grad.cc

                     absl::Span<AbstractTensorHandle*> grad_inputs) override {
        /* Given upstream grad U and a Neg op Y = -X, the gradients are:
         *
         *    dX =  -U
         *
         */
    
        std::string name = "Neg_Grad";
        TF_RETURN_IF_ERROR(
            ops::Neg(ctx, grad_outputs[0], &grad_inputs[0], name.c_str()));
        return absl::OkStatus();
      }
      ~NegGradientFunction() override {}
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 13:53:47 UTC 2024
    - 15.2K bytes
    - Viewed (0)
Back to top