Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 142 for asin (0.04 sec)

  1. src/math/all_test.go

    }
    
    func TestAsin(t *testing.T) {
    	for i := 0; i < len(vf); i++ {
    		a := vf[i] / 10
    		if f := Asin(a); !veryclose(asin[i], f) {
    			t.Errorf("Asin(%g) = %g, want %g", a, f, asin[i])
    		}
    	}
    	for i := 0; i < len(vfasinSC); i++ {
    		if f := Asin(vfasinSC[i]); !alike(asinSC[i], f) {
    			t.Errorf("Asin(%g) = %g, want %g", vfasinSC[i], f, asinSC[i])
    		}
    	}
    }
    
    func TestAsinh(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 07 17:39:26 UTC 2023
    - 86.8K bytes
    - Viewed (0)
  2. tensorflow/cc/gradients/math_grad.cc

                     std::vector<Output>* grad_outputs) {
      // y = asinh(x)
      // dy/dx = 1 / cosh(y)
      auto dydx = Reciprocal(scope, Cosh(scope, op.output(0)));
      // grad(x) = grad(y) * conj(dy/dx)
      grad_outputs->push_back(
          Mul(scope, grad_inputs[0], ConjugateHelper(scope, dydx)));
      return scope.status();
    }
    REGISTER_GRADIENT_OP("Asinh", AsinhGrad);
    
    Status AcoshGrad(const Scope& scope, const Operation& op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 18:20:20 UTC 2023
    - 50.7K bytes
    - Viewed (0)
  3. src/math/asinh.go

    //
    //	Asinh(±0) = ±0
    //	Asinh(±Inf) = ±Inf
    //	Asinh(NaN) = NaN
    func Asinh(x float64) float64 {
    	if haveArchAsinh {
    		return archAsinh(x)
    	}
    	return asinh(x)
    }
    
    func asinh(x float64) float64 {
    	const (
    		Ln2      = 6.93147180559945286227e-01 // 0x3FE62E42FEFA39EF
    		NearZero = 1.0 / (1 << 28)            // 2**-28
    		Large    = 1 << 28                    // 2**28
    	)
    	// special cases
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 13 20:02:49 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. src/runtime/asan/asan.go

    // https://github.com/llvm/llvm-project/blob/main/compiler-rt/lib/asan/asan_init_version.h
    // This structure describes an instrumented global variable.
    //
    // TODO: If a later version of the ASan library changes __asan_global or __asan_global_source_location
    // structure, we need to make the same changes.
    struct _asan_global {
    	uintptr_t beg;
    	uintptr_t size;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 00:22:11 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/lower_tf.mlir

    func.func @_UnaryOpsComposition(%arg0: tensor<4xf32>) -> tensor<4xf32> {
    
      // CHECK: %[[RESULT0:.*]] = "tf.Asin"(%[[ARG0]])
      // CHECK: %[[RESULT1:.*]] = "tf.Abs"(%[[RESULT0]])
      // CHECK: %[[RESULT2:.*]] = "tf.Log"(%[[RESULT1]])
      // CHECK: return %[[RESULT2]]
    
      %0 = "tf._UnaryOpsComposition"(%arg0) {op_names = ["Asin", "Abs", "Log"]} : (tensor<4xf32>) -> tensor<4xf32>
      func.return %0 : tensor<4xf32>
    }
    
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 18:35:42 UTC 2024
    - 92K bytes
    - Viewed (0)
  6. src/internal/asan/asan.go

    // Copyright 2024 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.
    
    //go:build asan
    
    package asan
    
    import (
    	"unsafe"
    )
    
    const Enabled = true
    
    //go:linkname Read runtime.asanread
    func Read(addr unsafe.Pointer, len uintptr)
    
    //go:linkname Write runtime.asanwrite
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 16:19:26 UTC 2024
    - 399 bytes
    - Viewed (0)
  7. src/math/sin.go

    	if j == 1 || j == 2 {
    		y = z + z*zz*((((((_sin[0]*zz)+_sin[1])*zz+_sin[2])*zz+_sin[3])*zz+_sin[4])*zz+_sin[5])
    	} else {
    		y = 1.0 - 0.5*zz + zz*zz*((((((_cos[0]*zz)+_cos[1])*zz+_cos[2])*zz+_cos[3])*zz+_cos[4])*zz+_cos[5])
    	}
    	if sign {
    		y = -y
    	}
    	return y
    }
    
    // Sin returns the sine of the radian argument x.
    //
    // Special cases are:
    //
    //	Sin(±0) = ±0
    //	Sin(±Inf) = NaN
    //	Sin(NaN) = NaN
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  8. src/runtime/asan.go

    // Copyright 2021 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.
    
    //go:build asan
    
    package runtime
    
    import (
    	"unsafe"
    )
    
    // Public address sanitizer API.
    func ASanRead(addr unsafe.Pointer, len int) {
    	sp := getcallersp()
    	pc := getcallerpc()
    	doasanread(addr, uintptr(len), sp, pc)
    }
    
    func ASanWrite(addr unsafe.Pointer, len int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 13 20:39:58 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/mark_for_compilation_pass.cc

          new absl::flat_hash_map<string, std::vector<string>>{
              // Unary
              {"PW",
               {"ComplexAbs", "Angle", "Conj", "Abs", "Acos", "Acosh", "Asin",
                "Atan", "Atanh", "Ceil", "Cos", "Cosh", "Sin", "Exp", "Expm1",
                "Floor", "IsFinite", "IsInf", "IsNan", "Inv", "Reciprocal", "Log",
                "Log1p", "Invert", "LogicalNot", "Ndtri", "Neg", "Rint", "Round",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  10. src/math/cmplx/sin.go

    //
    // then
    //
    //     w = sin x  cosh y  +  i cos x sinh y.
    //
    // csin(z) = -i csinh(iz).
    //
    // ACCURACY:
    //
    //                      Relative error:
    // arithmetic   domain     # trials      peak         rms
    //    DEC       -10,+10      8400       5.3e-17     1.3e-17
    //    IEEE      -10,+10     30000       3.8e-16     1.0e-16
    // Also tested by csin(casin(z)) = z.
    
    // Sin returns the sine of x.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 4.8K bytes
    - Viewed (0)
Back to top