Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 310 for roundup (0.18 sec)

  1. src/math/expm1.go

    //      Given x, find r and integer k such that
    //
    //               x = k*ln2 + r,  |r| <= 0.5*ln2 ~ 0.34658
    //
    //      Here a correction term c will be computed to compensate
    //      the error in r when rounded to a floating-point number.
    //
    //   2. Approximating expm1(r) by a special rational function on
    //      the interval [0,0.34658]:
    //      Since
    //          r*(exp(r)+1)/(exp(r)-1) = 2+ r**2/6 - r**4/360 + ...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Stopwatch.java

        return isRunning ? ticker.read() - startTick + elapsedNanos : elapsedNanos;
      }
    
      /**
       * Returns the current elapsed time shown on this stopwatch, expressed in the desired time unit,
       * with any fraction rounded down.
       *
       * <p>Note that the overhead of measurement can be more than a microsecond, so it is generally not
       * useful to specify {@link TimeUnit#NANOSECONDS} precision here.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Nov 15 21:38:09 UTC 2022
    - 8.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/api/resource/math.go

    	}
    }
    
    // negativeScaleInt64 reduces base by the provided scale, rounding up, until the
    // value is zero or the scale is reached. Passing a negative scale is undefined.
    // The value returned, if not exact, is rounded away from zero.
    func negativeScaleInt64(base int64, scale Scale) (result int64, exact bool) {
    	if scale == 0 {
    		return base, true
    	}
    
    	value := base
    	var fraction bool
    	for i := Scale(0); i < scale; i++ {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 23 13:07:14 UTC 2020
    - 7.3K bytes
    - Viewed (0)
  4. src/go/internal/gccgoimporter/testdata/issue29198.gox

     func (t <esc:0x1> <type 12>) Sub (u <esc:0x1> <type 12>) <type 26 "time.Duration" <type -4>
     func (d <type 26>) Truncate (m <type 26>) <type 26>;
     func (d <type 26>) String () <type -16>;
     func (d <type 26>) Round (m <type 26>) <type 26>;
     func (d <type 26>) Seconds () <type -10>;
     func (d <type 26>) Nanoseconds () <type -4>;
     func (d <type 26>) Minutes () <type -10>;
     func (d <type 26>) Hours () <type -10>;
    >;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 12 23:01:16 UTC 2018
    - 6.4K bytes
    - Viewed (0)
  5. src/vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305_amd64.s

    	XORQ itr2, itr2
    	MOVQ inl, itr1
    	CMPQ itr1, $16
    	JB   openSSETail64LoopB
    
    openSSETail64LoopA:
    	// Perform ChaCha rounds, while hashing the remaining input
    	polyAdd(0(inp)(itr2*1))
    	polyMul
    	SUBQ $16, itr1
    
    openSSETail64LoopB:
    	ADDQ          $16, itr2
    	chachaQR(A0, B0, C0, D0, T0)
    	shiftB0Left;  shiftC0Left; shiftD0Left
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 105.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/tests/replace_cast_hacks_with_tf_xla_ops.mlir

        %14 = "tf.Round"(%13) : (tensor<1x2x2x3xf32>) -> tensor<1x2x2x3xf32>
        %15 = "tf.Cast"(%14) {Truncate = false} : (tensor<1x2x2x3xf32>) -> tensor<1x2x2x3xi32>
        %16 = "tf.AddV2"(%15, %arg10) : (tensor<1x2x2x3xi32>, tensor<i32>) -> tensor<1x2x2x3xi32>
        %17 = "tf.Div"(%cst_1, %arg9) : (tensor<f32>, tensor<f32>) -> tensor<f32>
        %18 = "tf.Round"(%17) : (tensor<f32>) -> tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 81K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/tests/quantize_composite_functions.mlir

    // CHECK: %[[round:.*]] = "tf.Round"(%[[avgpool]]) : (tensor<*xf32>) -> tensor<*xf32>
    // CHECK: %[[cast_2:.*]] = "tf.Cast"(%[[round]]) <{Truncate = false}> : (tensor<*xf32>) -> tensor<*xi8>
    // CHECK: %[[dequantize:.*]] = "tf.PartitionedCall"(%[[cast_2]]
    // CHECK-SAME: f = @dequantize_i8
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Nov 06 01:23:21 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  8. cmd/handler-api.go

    		// but still, no need to interpret more
    		return 0
    	}
    	if limit == cgroupMemNoLimit {
    		// No limit set, It's the highest positive signed 64-bit
    		// integer (2^63-1), rounded down to multiples of 4096 (2^12),
    		// the most common page size on x86 systems - for cgroup_limits.
    		return 0
    	}
    	return limit
    }
    
    func availableMemory() (available uint64) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 12 08:13:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. src/math/big/ratmarsh_test.go

    			continue
    		}
    		if rx.Cmp(&tx) != 0 {
    			t.Errorf("transmission of %s failed: got %s want %s", &tx, &rx, &tx)
    		}
    	}
    }
    
    // Sending a nil Rat pointer (inside a slice) on a round trip through gob should yield a zero.
    // TODO: top-level nils.
    func TestGobEncodingNilRatInSlice(t *testing.T) {
    	buf := new(bytes.Buffer)
    	enc := gob.NewEncoder(buf)
    	dec := gob.NewDecoder(buf)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 11 20:20:16 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  10. src/crypto/internal/mlkem768/mlkem768.go

    	// Since the remainder is in the range [0, 2q), not [0, q), we need to
    	// portion it into three spans for rounding.
    	//
    	//     [ 0,       q/2     ) -> round to 0
    	//     [ q/2,     q + q/2 ) -> round to 1
    	//     [ q + q/2, 2q      ) -> round to 2
    	//
    	// We can convert that to the following logic: add 1 if remainder > q/2,
    	// then add 1 again if remainder > q + q/2.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 28.4K bytes
    - Viewed (0)
Back to top