Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 722 for rounds (0.11 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.td

      (TF_IdentityOp $input)>;
    
    // Implements TF Round on floats using basic operations. TF Round is specified
    // as RoundHalfToEven to be compatible with Numpy.
    def LowerRoundOpOnFloatTensor : Pat<
      (TF_RoundOp:$res TF_FloatTensor:$input),
      (TF_SelectV2Op
        (TF_EqualOp
          (TF_ConstOp:$zero (GetScalarOfFloatType<"0.0"> $input)),
          (TF_SelectV2Op:$rounded
            (TF_LogicalOrOp
              (TF_GreaterOp
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/crypto/internal/poly1305/sum_generic.go

    // the value of [x0, x1, x2] is x[0] + x[1] * 2⁶⁴ + x[2] * 2¹²⁸.
    type macState struct {
    	// h is the main accumulator. It is to be interpreted modulo 2¹³⁰ - 5, but
    	// can grow larger during and after rounds. It must, however, remain below
    	// 2 * (2¹³⁰ - 5).
    	h [3]uint64
    	// r and s are the private key components.
    	r [2]uint64
    	s [2]uint64
    }
    
    type macGeneric struct {
    	macState
    
    	buffer [TagSize]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types/size.go

    var CalcSizeDisabled bool
    
    // machine size and rounding alignment is dictated around
    // the size of a pointer, set in gc.Main (see ../gc/main.go).
    var defercalc int
    
    // RoundUp rounds o to a multiple of r, r is a power of 2.
    func RoundUp(o int64, r int64) int64 {
    	if r < 1 || r > 8 || r&(r-1) != 0 {
    		base.Fatalf("Round %d", r)
    	}
    	return (o + r - 1) &^ (r - 1)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 15K bytes
    - Viewed (0)
  4. src/net/tcpsock.go

    	ln, err := sl.listenTCP(context.Background(), laddr)
    	if err != nil {
    		return nil, &OpError{Op: "listen", Net: network, Source: nil, Addr: laddr.opAddr(), Err: err}
    	}
    	return ln, nil
    }
    
    // roundDurationUp rounds d to the next multiple of to.
    func roundDurationUp(d time.Duration, to time.Duration) time.Duration {
    	return (d + to - 1) / to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 03:10:07 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  5. src/strconv/atof.go

    	for mantissa > 1 && exp < minExp-2 {
    		mantissa = mantissa>>1 | mantissa&1
    		exp++
    	}
    
    	// Round using two bottom bits.
    	round := mantissa & 3
    	mantissa >>= 2
    	round |= mantissa & 1 // round to even (round up if mantissa is odd)
    	exp += 2
    	if round == 3 {
    		mantissa++
    		if mantissa == 1<<(1+flt.mantbits) {
    			mantissa >>= 1
    			exp++
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 06 18:50:50 UTC 2022
    - 15.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/LongMath.java

        checkNotNull(mode);
        long div = p / q; // throws if q == 0
        long rem = p - q * div; // equals p % q
    
        if (rem == 0) {
          return div;
        }
    
        /*
         * Normal Java division rounds towards 0, consistently with RoundingMode.DOWN. We just have to
         * deal with the cases where rounding towards 0 is wrong, which typically depends on the sign of
         * p / q.
         *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  7. src/strconv/atof_test.go

    	{"0x0.1234567p-125", "1.671814e-39", nil},  // rounded down
    	{"0x0.1234568p-125", "1.671814e-39", nil},  // rounded down
    	{"0x0.1234569p-125", "1.671815e-39", nil},  // rounded up
    	{"0x0.1234570p-125", "1.671815e-39", nil},  // 0x00123457
    	{"0x0.0000010p-125", "1e-45", nil},         // 0x00000001
    	{"0x0.00000081p-125", "1e-45", nil},        // rounded up
    	{"0x0.0000008p-125", "0", nil},             // rounded down
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 16:24:57 UTC 2022
    - 23.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/math/LongMath.java

        checkNotNull(mode);
        long div = p / q; // throws if q == 0
        long rem = p - q * div; // equals p % q
    
        if (rem == 0) {
          return div;
        }
    
        /*
         * Normal Java division rounds towards 0, consistently with RoundingMode.DOWN. We just have to
         * deal with the cases where rounding towards 0 is wrong, which typically depends on the sign of
         * p / q.
         *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  9. src/crypto/tls/cipher_suites.go

    //
    //     The only potential advantages of AES-256 are better multi-target
    //     margins, and hypothetical post-quantum properties. Neither apply to
    //     TLS, and AES-256 is slower due to its four extra rounds (which don't
    //     contribute to the advantages above).
    //
    //   - ECDSA comes before RSA
    //
    //     The relative order of ECDSA and RSA cipher suites doesn't matter,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  10. src/crypto/md5/md5block_arm.s

    	ROUND1(Rb, Rc, Rd, Ra,  3, 22, Rc3)
    
    	MOVM.IA.W (Rtable), [Rc0,Rc1,Rc2,Rc3]
    	ROUND1(Ra, Rb, Rc, Rd,  4,	7, Rc0)
    	ROUND1(Rd, Ra, Rb, Rc,  5, 12, Rc1)
    	ROUND1(Rc, Rd, Ra, Rb,  6, 17, Rc2)
    	ROUND1(Rb, Rc, Rd, Ra,  7, 22, Rc3)
    
    	MOVM.IA.W (Rtable), [Rc0,Rc1,Rc2,Rc3]
    	ROUND1(Ra, Rb, Rc, Rd,  8,	7, Rc0)
    	ROUND1(Rd, Ra, Rb, Rc,  9, 12, Rc1)
    	ROUND1(Rc, Rd, Ra, Rb, 10, 17, Rc2)
    	ROUND1(Rb, Rc, Rd, Ra, 11, 22, Rc3)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 8.8K bytes
    - Viewed (0)
Back to top