Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for archCosh (0.12 sec)

  1. src/math/stubs.go

    }
    
    const haveArchCbrt = false
    
    func archCbrt(x float64) float64 {
    	panic("not implemented")
    }
    
    const haveArchCos = false
    
    func archCos(x float64) float64 {
    	panic("not implemented")
    }
    
    const haveArchCosh = false
    
    func archCosh(x float64) float64 {
    	panic("not implemented")
    }
    
    const haveArchErf = false
    
    func archErf(x float64) float64 {
    	panic("not implemented")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  2. src/math/sinh.go

    }
    
    // Cosh returns the hyperbolic cosine of x.
    //
    // Special cases are:
    //
    //	Cosh(±0) = 1
    //	Cosh(±Inf) = +Inf
    //	Cosh(NaN) = NaN
    func Cosh(x float64) float64 {
    	if haveArchCosh {
    		return archCosh(x)
    	}
    	return cosh(x)
    }
    
    func cosh(x float64) float64 {
    	x = Abs(x)
    	if x > 21 {
    		return Exp(x) * 0.5
    	}
    	ex := Exp(x)
    	return (ex + 1/ex) * 0.5
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  3. src/math/arith_s390x.go

    func archLog10(x float64) float64
    func log10TrampolineSetup(x float64) float64
    func log10Asm(x float64) float64
    
    const haveArchCos = true
    
    func archCos(x float64) float64
    func cosTrampolineSetup(x float64) float64
    func cosAsm(x float64) float64
    
    const haveArchCosh = true
    
    func archCosh(x float64) float64
    func coshTrampolineSetup(x float64) float64
    func coshAsm(x float64) float64
    
    const haveArchSin = true
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 15 15:48:19 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  4. src/math/stubs_s390x.s

    	MOVD $·cosvectorfacility+0x00(SB), R1
    	MOVD $·cosAsm(SB), R2
    	MOVD R2, 0(R1)
    	BR   ·cosAsm(SB)
    
    GLOBL ·cosvectorfacility+0x00(SB), NOPTR, $8
    DATA ·cosvectorfacility+0x00(SB)/8, $·cosTrampolineSetup(SB)
    
    TEXT ·archCosh(SB), NOSPLIT, $0
    	MOVD ·coshvectorfacility+0x00(SB), R1
    	BR   (R1)
    
    TEXT ·coshTrampolineSetup(SB), NOSPLIT, $0
    	MOVB   ·hasVX(SB), R1
    	CMPBEQ R1, $1, vectorimpl                // vectorfacility = 1, vector supported
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 15 15:48:19 UTC 2021
    - 12.4K bytes
    - Viewed (0)
  5. src/math/acosh.go

    // Acosh returns the inverse hyperbolic cosine of x.
    //
    // Special cases are:
    //
    //	Acosh(+Inf) = +Inf
    //	Acosh(x) = NaN if x < 1
    //	Acosh(NaN) = NaN
    func Acosh(x float64) float64 {
    	if haveArchAcosh {
    		return archAcosh(x)
    	}
    	return acosh(x)
    }
    
    func acosh(x float64) float64 {
    	const Large = 1 << 28 // 2**28
    	// first case is special case
    	switch {
    	case x < 1 || IsNaN(x):
    		return NaN()
    	case x == 1:
    		return 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  6. src/math/sin.go

    }
    
    // Cos returns the cosine of the radian argument x.
    //
    // Special cases are:
    //
    //	Cos(±Inf) = NaN
    //	Cos(NaN) = NaN
    func Cos(x float64) float64 {
    	if haveArchCos {
    		return archCos(x)
    	}
    	return cos(x)
    }
    
    func cos(x float64) float64 {
    	const (
    		PI4A = 7.85398125648498535156e-1  // 0x3fe921fb40000000, Pi/4 split into three parts
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 6.4K bytes
    - Viewed (0)
Back to top