Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for acoshSC (0.28 sec)

  1. src/math/arith_s390x_test.go

    	}
    	for i := 0; i < len(vf); i++ {
    		a := 1 + Abs(vf[i])
    		if f := AcoshNovec(a); !veryclose(acosh[i], f) {
    			t.Errorf("Acosh(%g) = %g, want %g", a, f, acosh[i])
    		}
    	}
    	for i := 0; i < len(vfacoshSC); i++ {
    		if f := AcoshNovec(vfacoshSC[i]); !alike(acoshSC[i], f) {
    			t.Errorf("Acosh(%g) = %g, want %g", vfacoshSC[i], f, acoshSC[i])
    		}
    	}
    }
    
    func TestAsinhNovec(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

    		}
    	}
    }
    func TestAcosh(t *testing.T) {
    	for i := 0; i < len(vc); i++ {
    		if f := Acosh(vc[i]); !cSoclose(acosh[i], f, 1e-14) {
    			t.Errorf("Acosh(%g) = %g, want %g", vc[i], f, acosh[i])
    		}
    	}
    	for _, v := range acoshSC {
    		if f := Acosh(v.in); !cAlike(v.want, f) {
    			t.Errorf("Acosh(%g) = %g, want %g", v.in, f, v.want)
    		}
    		if math.IsNaN(imag(v.in)) || math.IsNaN(imag(v.want)) {
    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

    	for i := 0; i < len(vf); i++ {
    		a := 1 + Abs(vf[i])
    		if f := Acosh(a); !veryclose(acosh[i], f) {
    			t.Errorf("Acosh(%g) = %g, want %g", a, f, acosh[i])
    		}
    	}
    	for i := 0; i < len(vfacoshSC); i++ {
    		if f := Acosh(vfacoshSC[i]); !alike(acoshSC[i], f) {
    			t.Errorf("Acosh(%g) = %g, want %g", vfacoshSC[i], f, acoshSC[i])
    		}
    	}
    }
    
    func TestAsin(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/acosh.go

    // Method :
    //	Based on
    //	        acosh(x) = log [ x + sqrt(x*x-1) ]
    //	we have
    //	        acosh(x) := log(x)+ln2,	if x is large; else
    //	        acosh(x) := log(2x-1/(sqrt(x*x-1)+x)) if x>2; else
    //	        acosh(x) := log1p(t+sqrt(2.0*t+t*t)); where t=x-1.
    //
    // Special cases:
    //	acosh(x) is NaN with signal if x<1.
    //	acosh(NaN) is NaN without signal.
    //
    
    // Acosh returns the inverse hyperbolic cosine of x.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  5. src/math/acosh_s390x.s

    DATA ·acoshtab2068<> + 120(SB)/8, $0.469505379381388441E-01
    GLOBL ·acoshtab2068<> + 0(SB), RODATA, $128
    
    // Acosh returns the inverse hyperbolic cosine of the argument.
    //
    // Special cases are:
    //      Acosh(+Inf) = +Inf
    //      Acosh(x) = NaN if x < 1
    //      Acosh(NaN) = NaN
    // The algorithm used is minimax polynomial approximation
    // with coefficients determined with a Remez exchange algorithm.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 15:34:41 UTC 2019
    - 4.3K bytes
    - Viewed (0)
  6. src/math/export_s390x_test.go

    var Log10NoVec = log10
    var CosNoVec = cos
    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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 08 19:52:30 UTC 2017
    - 732 bytes
    - Viewed (0)
  7. tensorflow/cc/gradients/math_grad_test.cc

    }
    
    TEST_F(CWiseUnaryGradTest, Acosh) {
      auto x_fn = [this](const int i) { return RV({1.5, 2, 2.5}); };
      TestCWiseGrad<float, float>(ACOSH, x_fn);
    }
    
    TEST_F(CWiseUnaryGradTest, Acosh_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>(ACOSH, x_fn);
    }
    
    TEST_F(CWiseUnaryGradTest, Atanh) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 18:20:20 UTC 2023
    - 36K bytes
    - Viewed (0)
  8. src/math/cmplx/asin.go

    // Acos returns the inverse cosine of x.
    func Acos(x complex128) complex128 {
    	w := Asin(x)
    	return complex(math.Pi/2-real(w), -imag(w))
    }
    
    // Acosh returns the inverse hyperbolic cosine of x.
    func Acosh(x complex128) complex128 {
    	if x == 0 {
    		return complex(0, math.Copysign(math.Pi/2, imag(x)))
    	}
    	w := Acos(x)
    	if imag(w) <= 0 {
    		return complex(-imag(w), real(w)) // i * w
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 01 03:16:37 UTC 2020
    - 5.9K bytes
    - Viewed (0)
  9. src/math/example_test.go

    package math_test
    
    import (
    	"fmt"
    	"math"
    )
    
    func ExampleAcos() {
    	fmt.Printf("%.2f", math.Acos(1))
    	// 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
    }
    
    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. src/math/stubs_s390x.s

    TEXT ·acoshTrampolineSetup(SB), NOSPLIT, $0
    	MOVB   ·hasVX(SB), R1
    	CMPBEQ R1, $1, vectorimpl                 // vectorfacility = 1, vector supported
    	MOVD   $·acoshvectorfacility+0x00(SB), R1
    	MOVD   $·acosh(SB), R2
    	MOVD   R2, 0(R1)
    	BR     ·acosh(SB)
    
    vectorimpl:
    	MOVD $·acoshvectorfacility+0x00(SB), R1
    	MOVD $·acoshAsm(SB), R2
    	MOVD R2, 0(R1)
    	BR   ·acoshAsm(SB)
    
    GLOBL ·acoshvectorfacility+0x00(SB), NOPTR, $8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 15 15:48:19 UTC 2021
    - 12.4K bytes
    - Viewed (0)
Back to top