Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 155 for arithmetic (0.23 sec)

  1. android/guava/src/com/google/common/math/Stats.java

        return count;
      }
    
      /**
       * Returns the <a href="http://en.wikipedia.org/wiki/Arithmetic_mean">arithmetic mean</a> of the
       * values. The count must be non-zero.
       *
       * <p>If these values are a sample drawn from a population, this is also an unbiased estimator of
       * the arithmetic mean of the population.
       *
       * <h3>Non-finite values</h3>
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 22K bytes
    - Viewed (0)
  2. test/codegen/floats.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package codegen
    
    // This file contains codegen tests related to arithmetic
    // simplifications and optimizations on float types.
    // For codegen tests on integer types, see arithmetic.go.
    
    // --------------------- //
    //    Strength-reduce    //
    // --------------------- //
    
    func Mul2(f float64) float64 {
    	// 386/sse2:"ADDSD",-"MULSD"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 15:24:29 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/math/IntMath.java

        37,
        35,
        34,
        34,
        33
      };
    
      /**
       * Returns the arithmetic mean of {@code x} and {@code y}, rounded towards negative infinity. This
       * method is overflow resilient.
       *
       * @since 14.0
       */
      public static int mean(int x, int y) {
        // Efficient method for computing the arithmetic mean.
        // The alternative (x + y) / 2 fails for large values.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/math/Stats.java

        return count;
      }
    
      /**
       * Returns the <a href="http://en.wikipedia.org/wiki/Arithmetic_mean">arithmetic mean</a> of the
       * values. The count must be non-zero.
       *
       * <p>If these values are a sample drawn from a population, this is also an unbiased estimator of
       * the arithmetic mean of the population.
       *
       * <h3>Non-finite values</h3>
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  5. src/runtime/internal/sys/consts.go

    package sys
    
    import (
    	"internal/goarch"
    	"internal/goos"
    )
    
    // AIX requires a larger stack for syscalls.
    // The race build also needs more stack. See issue 54291.
    // This arithmetic must match that in cmd/internal/objabi/stack.go:stackGuardMultiplier.
    const StackGuardMultiplier = 1 + goos.IsAix + isRace
    
    // DefaultPhysPageSize is the default physical page size.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 16:26:25 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/quantization/ir/Passes.h

    /// Creates a pass that converts constants followed by a qbarrier to a
    /// constant whose value is quantized. This is typically one of the last
    /// passes done when lowering to express actual quantized arithmetic in a
    /// low level representation. Because it modifies the constant, it is
    /// destructive and cannot be undone.
    std::unique_ptr<OperationPass<func::FuncOp>> createConvertConstPass();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jul 29 18:55:28 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/unsafeptr/unsafeptr.go

    				return true
    			}
    		}
    	}
    
    	// "(3) Conversion of a Pointer to a uintptr and back, with arithmetic."
    	return isSafeArith(info, x)
    }
    
    // isSafeArith reports whether x is a pointer arithmetic expression that is safe
    // to convert to unsafe.Pointer.
    func isSafeArith(info *types.Info, x ast.Expr) bool {
    	switch x := astutil.Unparen(x).(type) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. src/strconv/ftoaryu.go

    	d.dp -= q
    }
    
    // mulByLog2Log10 returns math.Floor(x * log(2)/log(10)) for an integer x in
    // the range -1600 <= x && x <= +1600.
    //
    // The range restriction lets us work in faster integer arithmetic instead of
    // slower floating point arithmetic. Correctness is verified by unit tests.
    func mulByLog2Log10(x int) int {
    	// log(2)/log(10) ≈ 0.30102999566 ≈ 78913 / 2^18
    	return (x * 78913) >> 18
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 09 00:28:56 UTC 2022
    - 15.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/math/LongMath.java

        return (int) x == x;
      }
    
      /**
       * Returns the arithmetic mean of {@code x} and {@code y}, rounded toward negative infinity. This
       * method is resilient to overflow.
       *
       * @since 14.0
       */
      public static long mean(long x, long y) {
        // Efficient method for computing the arithmetic mean.
        // The alternative (x + y) / 2 fails for large values.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/LongMath.java

        return (int) x == x;
      }
    
      /**
       * Returns the arithmetic mean of {@code x} and {@code y}, rounded toward negative infinity. This
       * method is resilient to overflow.
       *
       * @since 14.0
       */
      public static long mean(long x, long y) {
        // Efficient method for computing the arithmetic mean.
        // The alternative (x + y) / 2 fails for large values.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 44.6K bytes
    - Viewed (0)
Back to top