Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for acosh (0.04 sec)

  1. 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)
  2. src/math/export_s390x_test.go

    package math
    
    // Export internal functions and variable for testing.
    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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 08 19:52:30 UTC 2017
    - 732 bytes
    - Viewed (0)
  3. src/math/cmplx/cmath_test.go

    			continue
    		}
    		// Acosh(Conj(z))  == Conj(Acosh(z))
    		if f := Acosh(Conj(v.in)); !cAlike(Conj(v.want), f) && !cAlike(v.in, Conj(v.in)) {
    			t.Errorf("Acosh(%g) = %g, want %g", Conj(v.in), f, Conj(v.want))
    		}
    
    	}
    	for _, pt := range branchPoints {
    		if f0, f1 := Acosh(pt[0]), Acosh(pt[1]); !cVeryclose(f0, f1) {
    			t.Errorf("Acosh(%g) not continuous, got %g want %g", pt[0], f0, f1)
    		}
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 01 03:16:37 UTC 2020
    - 48.1K bytes
    - Viewed (0)
  4. 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)
  5. 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) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 08 19:52:30 UTC 2017
    - 10.8K bytes
    - Viewed (0)
  6. tensorflow/cc/gradients/math_grad_test.cc

            break;
          case SINH:
            y = Sinh(scope_, x);
            break;
          case COSH:
            y = Cosh(scope_, x);
            break;
          case TANH:
            y = Tanh(scope_, x);
            break;
          case ASINH:
            y = Asinh(scope_, x);
            break;
          case ACOSH:
            y = Acosh(scope_, x);
            break;
          case ATANH:
            y = Atanh(scope_, x);
            break;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 18:20:20 UTC 2023
    - 36K bytes
    - Viewed (0)
  7. src/math/example_test.go

    // license that can be found in the LICENSE file.
    
    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))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 07 18:09:53 UTC 2021
    - 3.7K 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 {
    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/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)
  10. src/math/all_test.go

    		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) {
    	for i := 0; i < len(vf); i++ {
    		a := vf[i] / 10
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 07 17:39:26 UTC 2023
    - 86.8K bytes
    - Viewed (0)
Back to top