Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for asinSC (0.26 sec)

  1. src/math/arith_s390x_test.go

    	}
    	for i := 0; i < len(vf); i++ {
    		a := vf[i] / 10
    		if f := AsinNovec(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 := AsinNovec(vfasinSC[i]); !alike(asinSC[i], f) {
    			t.Errorf("Asin(%g) = %g, want %g", vfasinSC[i], f, asinSC[i])
    		}
    	}
    }
    
    func TestAcoshNovec(t *testing.T) {
    	if !HasVX {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 08 19:52:30 UTC 2017
    - 10.8K bytes
    - Viewed (0)
  2. src/math/cmplx/cmath_test.go

    			t.Errorf("Asin(%g) = %g, want %g", -v.in, f, -v.want)
    		}
    	}
    	for _, pt := range branchPoints {
    		if f0, f1 := Asin(pt[0]), Asin(pt[1]); !cVeryclose(f0, f1) {
    			t.Errorf("Asin(%g) not continuous, got %g want %g", pt[0], f0, f1)
    		}
    	}
    }
    func TestAsinh(t *testing.T) {
    	for i := 0; i < len(vc); i++ {
    		if f := Asinh(vc[i]); !cSoclose(asinh[i], f, 4e-15) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 01 03:16:37 UTC 2020
    - 48.1K bytes
    - Viewed (0)
  3. 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)
  4. src/math/cmplx/asin.go

    	w := Log(ct + x2)
    	return complex(imag(w), -real(w)) // -i * w
    }
    
    // Asinh returns the inverse hyperbolic sine of x.
    func Asinh(x complex128) complex128 {
    	switch re, im := real(x), imag(x); {
    	case im == 0 && math.Abs(re) <= 1:
    		return complex(math.Asinh(re), im)
    	case re == 0 && math.Abs(im) <= 1:
    		return complex(re, math.Asin(im))
    	case math.IsInf(re, 0):
    		switch {
    		case math.IsInf(im, 0):
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 01 03:16:37 UTC 2020
    - 5.9K bytes
    - Viewed (0)
  5. 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)
  6. src/math/asin.go

    	They are implemented by computing the arctangent
    	after appropriate range reduction.
    */
    
    // Asin returns the arcsine, in radians, of x.
    //
    // Special cases are:
    //
    //	Asin(±0) = ±0
    //	Asin(x) = NaN if x < -1 or x > 1
    func Asin(x float64) float64 {
    	if haveArchAsin {
    		return archAsin(x)
    	}
    	return asin(x)
    }
    
    func asin(x float64) float64 {
    	if x == 0 {
    		return x // special case
    	}
    	sign := false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  7. src/math/export_s390x_test.go

    var CoshNoVec = cosh
    var SinNoVec = sin
    var SinhNoVec = sinh
    var TanhNoVec = tanh
    var Log1pNovec = log1p
    var AtanhNovec = atanh
    var AcosNovec = acos
    var AcoshNovec = acosh
    var AsinNovec = asin
    var AsinhNovec = asinh
    var ErfNovec = erf
    var ErfcNovec = erfc
    var AtanNovec = atan
    var Atan2Novec = atan2
    var CbrtNovec = cbrt
    var LogNovec = log
    var TanNovec = tan
    var ExpNovec = exp
    var Expm1Novec = expm1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 08 19:52:30 UTC 2017
    - 732 bytes
    - Viewed (0)
  8. tensorflow/cc/gradients/math_grad_test.cc

    }
    
    TEST_F(CWiseUnaryGradTest, Asinh) {
      auto x_fn = [this](const int i) { return RV({0.5, 1, -1, -1.5, 1.5}); };
      TestCWiseGrad<float, float>(ASINH, x_fn);
    }
    
    TEST_F(CWiseUnaryGradTest, Asinh_Complex) {
      auto x_fn = [this](const int i) {
        return CRV({{1, 0.5}, {0.5, 1}, {0.5, -1}, {1, 1.5}});
      };
      TestCWiseGrad<complex64, complex64>(ASINH, x_fn);
    }
    
    TEST_F(CWiseUnaryGradTest, Acosh) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 18:20:20 UTC 2023
    - 36K bytes
    - Viewed (0)
  9. src/math/example_test.go

    	// Output: 0.00
    }
    
    func ExampleAcosh() {
    	fmt.Printf("%.2f", math.Acosh(1))
    	// Output: 0.00
    }
    
    func ExampleAsin() {
    	fmt.Printf("%.2f", math.Asin(0))
    	// Output: 0.00
    }
    
    func ExampleAsinh() {
    	fmt.Printf("%.2f", math.Asinh(0))
    	// Output: 0.00
    }
    
    func ExampleAtan() {
    	fmt.Printf("%.2f", math.Atan(0))
    	// Output: 0.00
    }
    
    func ExampleAtan2() {
    	fmt.Printf("%.2f", math.Atan2(0, 0))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 07 18:09:53 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  10. test/named.go

    	asInt(2 * i)
    	isInt(2 * i)
    	asInt(i * i)
    	isInt(i * i)
    	i *= 2
    	asInt(i / 5)
    	isInt(i / 5)
    	asInt(5 / i)
    	isInt(5 / i)
    	asInt(i / i)
    	isInt(i / i)
    	i /= 2
    	asInt(i % 5)
    	isInt(i % 5)
    	asInt(5 % i)
    	isInt(5 % i)
    	asInt(i % i)
    	isInt(i % i)
    	i %= 2
    	asInt(i & 5)
    	isInt(i & 5)
    	asInt(5 & i)
    	isInt(5 & i)
    	asInt(i & i)
    	isInt(i & i)
    	i &= 2
    	asInt(i &^ 5)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 4.6K bytes
    - Viewed (0)
Back to top