Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,755 for math3 (0.04 sec)

  1. android/guava-tests/benchmark/com/google/common/math/IntMathRoundingBenchmark.java

     */
    
    package com.google.common.math;
    
    import static com.google.common.math.MathBenchmarking.ARRAY_MASK;
    import static com.google.common.math.MathBenchmarking.ARRAY_SIZE;
    import static com.google.common.math.MathBenchmarking.RANDOM_SOURCE;
    import static com.google.common.math.MathBenchmarking.randomNonZeroBigInteger;
    import static com.google.common.math.MathBenchmarking.randomPositiveBigInteger;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.6K bytes
    - Viewed (0)
  2. test/fixedbugs/issue12577.go

    }
    
    func test64(f float64) {
    	if f != 0 || math.Signbit(f) {
    		println("BUG: got", f, "want 0.0")
    		return
    	}
    }
    
    func main() {
    	if f := -x0; f != 0 || !math.Signbit(float64(f)) {
    		println("BUG: got", f, "want -0.0")
    	}
    
    	test32(-0.0)
    	test32(x0)
    	test32(x1)
    	test32(x2)
    	test32(x3)
    
    	if f := -y0; f != 0 || !math.Signbit(f) {
    		println("BUG: got", f, "want -0.0")
    	}
    
    	test64(-0.0)
    	test64(y0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 20 22:11:11 UTC 2015
    - 1011 bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/math/DoubleMathBenchmark.java

     * limitations under the License.
     */
    
    package com.google.common.math;
    
    import static com.google.common.math.MathBenchmarking.ARRAY_MASK;
    import static com.google.common.math.MathBenchmarking.ARRAY_SIZE;
    import static com.google.common.math.MathBenchmarking.RANDOM_SOURCE;
    import static com.google.common.math.MathBenchmarking.randomDouble;
    import static com.google.common.math.MathBenchmarking.randomPositiveDouble;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.5K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/math/IntMathBenchmark.java

     * limitations under the License.
     */
    
    package com.google.common.math;
    
    import static com.google.common.math.MathBenchmarking.ARRAY_MASK;
    import static com.google.common.math.MathBenchmarking.ARRAY_SIZE;
    import static com.google.common.math.MathBenchmarking.RANDOM_SOURCE;
    import static com.google.common.math.MathBenchmarking.randomExponent;
    import static com.google.common.math.MathBenchmarking.randomNonNegativeBigInteger;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.2K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/gcflags_patterns.txt

    # -ldflags applies to link of command
    go build -a -n -ldflags=-X=math.pi=3 my/cmd/prog
    stderr 'link.* -X=math.pi=3'
    
    # -ldflags applies to link of command even with strange directory name
    go build -a -n -ldflags=-X=math.pi=3 my/cmd/prog/
    stderr 'link.* -X=math.pi=3'
    
    # -ldflags applies to current directory
    cd my/cmd/prog
    go build -a -n -ldflags=-X=math.pi=3
    stderr 'link.* -X=math.pi=3'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 21 14:58:44 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/math/BigIntegerMathRoundingBenchmark.java

     * limitations under the License.
     */
    
    package com.google.common.math;
    
    import static com.google.common.math.MathBenchmarking.ARRAY_MASK;
    import static com.google.common.math.MathBenchmarking.ARRAY_SIZE;
    import static com.google.common.math.MathBenchmarking.randomNonZeroBigInteger;
    import static com.google.common.math.MathBenchmarking.randomPositiveBigInteger;
    
    import com.google.caliper.BeforeExperiment;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 30 13:06:20 UTC 2020
    - 2.8K bytes
    - Viewed (0)
  7. src/internal/fuzz/mutator.go

    	case int8:
    		vals[i] = int8(m.mutateInt(int64(v), math.MaxInt8))
    	case int16:
    		vals[i] = int16(m.mutateInt(int64(v), math.MaxInt16))
    	case int64:
    		vals[i] = m.mutateInt(v, maxInt)
    	case uint:
    		vals[i] = uint(m.mutateUInt(uint64(v), maxUint))
    	case uint16:
    		vals[i] = uint16(m.mutateUInt(uint64(v), math.MaxUint16))
    	case uint32:
    		vals[i] = uint32(m.mutateUInt(uint64(v), math.MaxUint32))
    	case uint64:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 20:01:34 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  8. test/fixedbugs/issue16804.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 16804: internal error for math.Sqrt as statement
    //              rather than expression
    
    package main
    
    import "math"
    
    func sqrt() {
    	math.Sqrt(2.0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Aug 21 16:49:48 UTC 2016
    - 331 bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

          assertBitEquals(x, at.get());
        }
      }
    
      /** compareAndSet succeeds in changing value if equal to expected else fails */
      public void testCompareAndSet() {
        double prev = Math.E;
        double unused = Math.E + Math.PI;
        AtomicDouble at = new AtomicDouble(prev);
        for (double x : VALUES) {
          assertBitEquals(prev, at.get());
          assertFalse(at.compareAndSet(unused, x));
          assertBitEquals(prev, at.get());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/api/resource/scale_int_test.go

    		{big.NewInt(0).Sub(maxInt64, bigOne), 1, 0, (math.MaxInt64-1)/10 + 1},
    		// large intermediate result.
    		{big.NewInt(1).Exp(big.NewInt(10), big.NewInt(100), nil), 100, 0, 1},
    
    		// scale up
    		{big.NewInt(0), 0, 3, 0},
    		{big.NewInt(1), 0, 3, 1000},
    		{big.NewInt(1), -3, 0, 1000},
    		{big.NewInt(1000), -3, 2, 100000000},
    		{big.NewInt(0).Div(big.NewInt(math.MaxInt64), bigThousand), 0, 3,
    			(math.MaxInt64 / 1000) * 1000},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 11 03:04:14 UTC 2018
    - 2.1K bytes
    - Viewed (0)
Back to top