Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Rsqrt (0.04 sec)

  1. test/codegen/math.go

    	sink64[4] = math.RoundToEven(x)
    }
    
    func sqrt(x float64) float64 {
    	// amd64:"SQRTSD"
    	// 386/sse2:"SQRTSD" 386/softfloat:-"SQRTD"
    	// arm64:"FSQRTD"
    	// arm/7:"SQRTD"
    	// mips/hardfloat:"SQRTD" mips/softfloat:-"SQRTD"
    	// mips64/hardfloat:"SQRTD" mips64/softfloat:-"SQRTD"
    	// wasm:"F64Sqrt"
    	// ppc64x:"FSQRT"
    	// riscv64: "FSQRTD"
    	return math.Sqrt(x)
    }
    
    func sqrt32(x float32) float32 {
    	// amd64:"SQRTSS"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 15:24:29 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. src/math/log1p.go

    	}
    
    	absx := Abs(x)
    
    	var f float64
    	var iu uint64
    	k := 1
    	if absx < Sqrt2M1 { //  |x| < Sqrt(2)-1
    		if absx < Small { // |x| < 2**-29
    			if absx < Tiny { // |x| < 2**-54
    				return x
    			}
    			return x - x*x*0.5
    		}
    		if x > Sqrt2HalfM1 { // Sqrt(2)/2-1 < x
    			// (Sqrt(2)/2-1) < x < (Sqrt(2)-1)
    			k = 0
    			f = x
    			iu = 1
    		}
    	}
    	var c float64
    	if k != 0 {
    		var u float64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  3. src/math/hypot.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package math
    
    /*
    	Hypot -- sqrt(p*p + q*q), but overflows only if the result does.
    */
    
    // Hypot returns [Sqrt](p*p + q*q), taking care to avoid
    // unnecessary overflow and underflow.
    //
    // Special cases are:
    //
    //	Hypot(±Inf, q) = +Inf
    //	Hypot(p, ±Inf) = +Inf
    //	Hypot(NaN, q) = NaN
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 850 bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/odml_converter/transforms/outline_composites.cc

        if (!erf_user_user) return failure();
    
        // `mul 1/sqrt(2)`
        auto* erf_input = GetInputOpWithOneUse(op, 0);
        if (!erf_input) return failure();
    
        // `mul 0.5`
        auto* erf_user_user_input = GetInputOpWithOneUse(erf_user_user, 0);
        if (!erf_user_user_input) return failure();
    
        // Check `mul 0.5` and `mul 1/sqrt(2)` refer to the same input.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. src/go/doc/comment/print.go

    // a slash between ImportPath and # in the anchored forms.
    // For example, here are some baseURL values and URLs they can generate:
    //
    //	"/pkg/" → "/pkg/math/#Sqrt"
    //	"/pkg"  → "/pkg/math#Sqrt"
    //	"/"     → "/math/#Sqrt"
    //	""      → "/math#Sqrt"
    func (l *DocLink) DefaultURL(baseURL string) string {
    	if l.ImportPath != "" {
    		slash := ""
    		if strings.HasSuffix(baseURL, "/") {
    			slash = "/"
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.td

    // operations. Specifically, performs the following calculation:
    //
    //   (x - mean) * scale / sqrt(variance + epsilon) + offset
    //
    // Let multiplier = scale / sqrt(variance + epsilon),
    // to compute
    //   (x - mean) * scale / sqrt(variance + epsilon) + offset,
    // is then to compute
    //   (x * multiplier) + (offset - mean * multiplier).
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 03:24:59 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/unfuse_mhlo_batch_norm.mlir

      // CHECK-DAG: %[[EPS_BCAST:.+]] = mhlo.constant dense<1.001000e-05> : tensor<256xf32>
      // CHECK-DAG: %[[VARIANCE_EPS:.+]] = mhlo.add %[[VARIANCE]], %[[EPS_BCAST]] : tensor<256xf32>
      // CHECK-DAG: %[[STDDEV:.+]] = mhlo.sqrt %[[VARIANCE_EPS]] : tensor<256xf32>
      // CHECK-DAG: %[[STDDEV_BCAST:.+]] = "mhlo.broadcast_in_dim"(%[[STDDEV]]) <{broadcast_dimensions = dense<1> : tensor<1xi64>}> : (tensor<256xf32>) -> tensor<4x256xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/DataSeries.java

                sumSquares = sumSquares.add(diff);
            }
            // This isn't quite right, as we may lose precision when converting to a double
            BigDecimal result = BigDecimal.valueOf(Math.sqrt(sumSquares.divide(BigDecimal.valueOf(size()), RoundingMode.HALF_UP).doubleValue())).setScale(2, RoundingMode.HALF_UP);
    
            standardError = Amount.valueOf(result, baseUnits);
        }
    
        public Amount<Q> getAverage() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. src/math/erfinv.go

    		r := 0.180625 - 0.25*x*x
    		z1 := ((((((a7*r+a6)*r+a5)*r+a4)*r+a3)*r+a2)*r+a1)*r + a0
    		z2 := ((((((b7*r+b6)*r+b5)*r+b4)*r+b3)*r+b2)*r+b1)*r + b0
    		ans = (x * z1) / z2
    	} else {
    		var z1, z2 float64
    		r := Sqrt(Ln2 - Log(1.0-x))
    		if r <= 5.0 {
    			r -= 1.6
    			z1 = ((((((c7*r+c6)*r+c5)*r+c4)*r+c3)*r+c2)*r+c1)*r + c0
    			z2 = ((((((d7*r+d6)*r+d5)*r+d4)*r+d3)*r+d2)*r+d1)*r + d0
    		} else {
    			r -= 5.0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/ppc64/anames.go

    	"FCPSGNCC",
    	"FRES",
    	"FRESCC",
    	"FRIM",
    	"FRIMCC",
    	"FRIP",
    	"FRIPCC",
    	"FRIZ",
    	"FRIZCC",
    	"FRIN",
    	"FRINCC",
    	"FRSQRTE",
    	"FRSQRTECC",
    	"FSEL",
    	"FSELCC",
    	"FSQRT",
    	"FSQRTCC",
    	"FSQRTS",
    	"FSQRTSCC",
    	"CNTLZD",
    	"CNTLZDCC",
    	"CMPW",
    	"CMPWU",
    	"CMPB",
    	"FTDIV",
    	"FTSQRT",
    	"DIVD",
    	"DIVDCC",
    	"DIVDE",
    	"DIVDECC",
    	"DIVDEU",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 18:50:29 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top