Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 216 for arithmetic (0.26 sec)

  1. src/math/big/arith_amd64.s

    // license that can be found in the LICENSE file.
    
    //go:build !math_big_pure_go
    
    #include "textflag.h"
    
    // This file provides fast assembly versions for the elementary
    // arithmetic operations on vectors implemented in arith.go.
    
    // The carry bit is saved with SBBQ Rx, Rx: if the carry was set, Rx is -1, otherwise it is 0.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfr/ir/tfr_ops.td

    }
    
    def TFR_ConstOp : TFR_Op<"constant", [ConstantLike, Pure]> {
      let description = [{
        The `attr` operation stores TF op's attribute, which doesn't support
        arithmetic operations.
    
        Example:
    
        ```mlir
        %1 = "tfr.constant"() { value: i32 } : () -> !tfr.attr
        %2 = "tfr.constant"() { value: [i32, f32] } : () -> !tfr.attr
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 10:54:29 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/math/Quantiles.java

          long numerator = (long) index * (dataset.length - 1);
          // Since scale is a positive int, index is in [0, scale], and (dataset.length - 1) is a
          // non-negative int, we can do long-arithmetic on index * (dataset.length - 1) / scale to get
          // a rounded ratio and a remainder which can be expressed as ints, without risk of overflow:
          int quotient = (int) LongMath.divide(numerator, scale, RoundingMode.DOWN);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 29.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/math/Quantiles.java

          long numerator = (long) index * (dataset.length - 1);
          // Since scale is a positive int, index is in [0, scale], and (dataset.length - 1) is a
          // non-negative int, we can do long-arithmetic on index * (dataset.length - 1) / scale to get
          // a rounded ratio and a remainder which can be expressed as ints, without risk of overflow:
          int quotient = (int) LongMath.divide(numerator, scale, RoundingMode.DOWN);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 29.9K bytes
    - Viewed (0)
  5. test/chan/powser1.go

    	return mkdch2()
    }
    
    // Conventions
    // Upper-case for power series.
    // Lower-case for rationals.
    // Input variables: U,V,...
    // Output variables: ...,Y,Z
    
    // Integer gcd; needed for rational arithmetic
    
    func gcd(u, v int64) int64 {
    	if u < 0 {
    		return gcd(-u, v)
    	}
    	if u == 0 {
    		return v
    	}
    	return gcd(v%u, u)
    }
    
    // Make a rational from two ints and from one int
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 25 22:22:20 UTC 2020
    - 12.7K bytes
    - Viewed (0)
  6. src/math/big/arith_arm64.s

    // license that can be found in the LICENSE file.
    
    //go:build !math_big_pure_go
    
    #include "textflag.h"
    
    // This file provides fast assembly versions for the elementary
    // arithmetic operations on vectors implemented in arith.go.
    
    // TODO: Consider re-implementing using Advanced SIMD
    // once the assembler supports those instructions.
    
    // func addVV(z, x, y []Word) (c Word)
    TEXT ·addVV(SB),NOSPLIT,$0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  7. src/text/template/parse/lex.go

    // appear after an identifier. Breaks .X.Y into two pieces. Also catches cases
    // like "$x+2" not being acceptable without a space, in case we decide one
    // day to implement arithmetic.
    func (l *lexer) atTerminator() bool {
    	r := l.peek()
    	if isSpace(r) {
    		return true
    	}
    	switch r {
    	case eof, '.', ',', '|', ':', ')', '(':
    		return true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 04 22:36:12 UTC 2022
    - 18.1K bytes
    - Viewed (0)
  8. test/chan/powser2.go

    	return mkdch2()
    }
    
    // Conventions
    // Upper-case for power series.
    // Lower-case for rationals.
    // Input variables: U,V,...
    // Output variables: ...,Y,Z
    
    // Integer gcd; needed for rational arithmetic
    
    func gcd(u, v int64) int64 {
    	if u < 0 {
    		return gcd(-u, v)
    	}
    	if u == 0 {
    		return v
    	}
    	return gcd(v%u, u)
    }
    
    // Make a rational from two ints and from one int
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 25 22:22:20 UTC 2020
    - 13.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/walk/convert.go

    	case ir.OCALLFUNC, ir.OCALLINTER:
    		return n
    	}
    
    	if n.X.Op() == ir.ODOTPTR && ir.IsReflectHeaderDataField(n.X) {
    		return n
    	}
    
    	// Find original unsafe.Pointer operands involved in this
    	// arithmetic expression.
    	//
    	// "It is valid both to add and to subtract offsets from a
    	// pointer in this way. It is also valid to use &^ to round
    	// pointers, usually for alignment."
    	var originals []ir.Node
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 17:28:22 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  10. src/math/big/nat.go

    //
    // with 0 <= x[i] < _B and 0 <= i < n is stored in a slice of length n,
    // with the digits x[i] as the slice elements.
    //
    // A number is normalized if the slice contains no leading 0 digits.
    // During arithmetic operations, denormalized values may occur but are
    // always normalized before returning the final result. The normalized
    // representation of 0 is the empty or nil slice (length = 0).
    type nat []Word
    
    var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:31:58 UTC 2024
    - 31.7K bytes
    - Viewed (0)
Back to top