Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 216 for arithmetic (0.19 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. internal/s3select/sql/value.go

    	default:
    		// Does not happen
    		return nil
    	}
    }
    
    // Value arithmetic functions: we do not expose them outside the
    // module. All arithmetic works only on numeric values with automatic
    // promotion to the "larger" type that can represent the value. TODO:
    // Add support for large number arithmetic.
    
    // Supported arithmetic operators
    const (
    	opPlus     = "+"
    	opMinus    = "-"
    	opDivide   = "/"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Feb 25 20:31:19 UTC 2022
    - 20.2K bytes
    - Viewed (0)
  3. test/fixedbugs/issue14553.go

    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This test checks if the compiler's internal constant
    // arithmetic correctly rounds denormal float32 values.
    
    package main
    
    import (
    	"fmt"
    	"math"
    )
    
    func main() {
    	for _, t := range []struct {
    		value float32
    		bits  uint32
    	}{
    		{0e+00, 0x00000000},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 22 17:09:29 UTC 2016
    - 940 bytes
    - Viewed (0)
  4. 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)
  5. test/fixedbugs/bug452.go

    // run
    
    // Copyright 2012 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 3835: 8g tries to optimize arithmetic involving integer
    // constants, but can run out of registers in the process.
    
    package main
    
    var a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, A, B, C, D, E, F, G int
    
    func foo() int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 915 bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top