Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 68 for Rsqrt (0.12 sec)

  1. test/fixedbugs/issue56109.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import "math"
    
    func main() {
    	f := func(p bool) {
    		if p {
    			println("hi")
    		}
    	}
    	go f(true || math.Sqrt(2) > 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 10 21:47:48 UTC 2022
    - 303 bytes
    - Viewed (0)
  2. 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)
  3. tensorflow/c/experimental/ops/math_ops.h

               const char* raw_device_name = nullptr);
    
    // Computes square root of x element-wise.
    Status Sqrt(AbstractContext* ctx, AbstractTensorHandle* const x,
                AbstractTensorHandle** y, const char* name = nullptr,
                const char* raw_device_name = nullptr);
    
    // Computes the gradient for the sqrt of `x` wrt its input.
    Status SqrtGrad(AbstractContext* ctx, AbstractTensorHandle* const y,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 10 19:11:36 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  4. .idea/dictionaries/svyatoslav_kuzmich.xml

          <w>externref</w>
          <w>funcref</w>
          <w>jetbrains</w>
          <w>kotlinx</w>
          <w>ktor</w>
          <w>optref</w>
          <w>popcnt</w>
          <w>rotl</w>
          <w>rotr</w>
          <w>simd</w>
          <w>sqrt</w>
          <w>testsuite</w>
          <w>uninstantiable</w>
          <w>unintercepted</w>
          <w>unlinkable</w>
          <w>vtable</w>
          <w>wabt</w>
          <w>xopt</w>
        </words>
      </dictionary>
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Oct 12 05:42:01 UTC 2021
    - 594 bytes
    - Viewed (0)
  5. 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)
  6. src/runtime/fastlog2_test.go

    		// Check 1K total values, down from 64M.
    		inc = 1 << 16
    	}
    	for i := 1; i < 1<<randomBitCount; i += inc {
    		l, fl := math.Log2(float64(i)), runtime.Fastlog2(float64(i))
    		d := l - fl
    		e += d * d
    	}
    	e = math.Sqrt(e)
    
    	if e > 1.0 {
    		t.Fatalf("imprecision on fastlog2 implementation, want <=1.0, got %f", e)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 23:34:33 UTC 2016
    - 784 bytes
    - Viewed (0)
  7. test/fixedbugs/issue27961.go

    	return Vec2{v[0], v[0]}
    }
    
    func (v Vec2) B() Vec2 {
    	return Vec2{1.0 / v.D(), 0}
    }
    
    func (v Vec2) C() Vec2 {
    	return Vec2{v[0], v[0]}
    }
    
    func (v Vec2) D() float64 {
    	return math.Sqrt(v[0])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 03 15:01:47 UTC 2018
    - 596 bytes
    - Viewed (0)
  8. src/math/log.go

    //
    // __ieee754_log(x)
    // Return the logarithm of x
    //
    // Method :
    //   1. Argument Reduction: find k and f such that
    //			x = 2**k * (1+f),
    //	   where  sqrt(2)/2 < 1+f < sqrt(2) .
    //
    //   2. Approximation of log(1+f).
    //	Let s = f/(2+f) ; based on log(1+f) = log(1+s) - log(1-s)
    //		 = 2s + 2/3 s**3 + 2/5 s**5 + .....,
    //	     	 = 2s + s*R
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  9. src/math/asin.go

    }
    
    func asin(x float64) float64 {
    	if x == 0 {
    		return x // special case
    	}
    	sign := false
    	if x < 0 {
    		x = -x
    		sign = true
    	}
    	if x > 1 {
    		return NaN() // special case
    	}
    
    	temp := Sqrt(1 - x*x)
    	if x > 0.7 {
    		temp = Pi/2 - satan(temp/x)
    	} else {
    		temp = satan(x / temp)
    	}
    
    	if sign {
    		temp = -temp
    	}
    	return temp
    }
    
    // Acos returns the arccosine, in radians, of x.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  10. src/math/pow.go

    	case IsInf(x, 0):
    		if IsInf(x, -1) {
    			return Pow(1/x, -y) // Pow(-0, -y)
    		}
    		switch {
    		case y < 0:
    			return 0
    		case y > 0:
    			return Inf(1)
    		}
    	case y == 0.5:
    		return Sqrt(x)
    	case y == -0.5:
    		return 1 / Sqrt(x)
    	}
    
    	yi, yf := Modf(Abs(y))
    	if yf != 0 && x < 0 {
    		return NaN()
    	}
    	if yi >= 1<<63 {
    		// yi is a large even int that will lead to overflow (or underflow to 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 24 19:10:58 UTC 2023
    - 3.6K bytes
    - Viewed (0)
Back to top