- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for sincosc0 (0.18 sec)
-
src/math/sin_s390x.s
DATA sincosc5<>+0(SB)/8, $-.275572911309937875E-06 GLOBL sincosc5<>+0(SB), RODATA, $8 DATA sincosc6<>+0(SB)/8, $0.208735047247632818E-08 GLOBL sincosc6<>+0(SB), RODATA, $8 DATA sincosc7<>+0(SB)/8, $-.112753632738365317E-10 GLOBL sincosc7<>+0(SB), RODATA, $8 DATA sincoss0<>+0(SB)/8, $0.100000000000000000E+01 GLOBL sincoss0<>+0(SB), RODATA, $8 DATA sincoss1<>+0(SB)/8, $-.166666666666666657E+00 GLOBL sincoss1<>+0(SB), RODATA, $8
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 31 04:25:54 UTC 2023 - 8.6K bytes - Viewed (0) -
src/math/sincos.go
// license that can be found in the LICENSE file. package math // Coefficients _sin[] and _cos[] are found in pkg/math/sin.go. // Sincos returns Sin(x), Cos(x). // // Special cases are: // // Sincos(±0) = ±0, 1 // Sincos(±Inf) = NaN, NaN // Sincos(NaN) = NaN, NaN func Sincos(x float64) (sin, cos 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 - 1.8K bytes - Viewed (0) -
src/math/huge_test.go
for i := 0; i < len(trigHuge); i++ { f1, g1 := sinHuge[i], cosHuge[i] f2, g2 := Sincos(trigHuge[i]) if !close(f1, f2) || !close(g1, g2) { t.Errorf("Sincos(%g) = %g, %g, want %g, %g", trigHuge[i], f2, g2, f1, g1) } f3, g3 := Sincos(-trigHuge[i]) if !close(-f1, f3) || !close(g1, g3) { t.Errorf("Sincos(%g) = %g, %g, want %g, %g", -trigHuge[i], f3, g3, -f1, g1) } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 31 16:23:41 UTC 2023 - 2.9K bytes - Viewed (0) -
src/math/cmplx/sin.go
case math.IsInf(im, 0): switch { case re == 0: return x case math.IsInf(re, 0) || math.IsNaN(re): return complex(math.NaN(), im) } case re == 0 && math.IsNaN(im): return x } s, c := math.Sincos(real(x)) sh, ch := sinhcosh(imag(x)) return complex(s*ch, c*sh) } // Complex hyperbolic sine // // DESCRIPTION: // // csinh z = (cexp(z) - cexp(-z))/2 // = sinh x * cos y + i cosh x * sin y .
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 18 17:59:44 UTC 2022 - 4.8K bytes - Viewed (0) -
src/math/cmplx/rect.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 348 bytes - Viewed (0) -
src/math/cmplx/exp.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 01 03:16:37 UTC 2020 - 2.1K bytes - Viewed (0) -
src/math/cmplx/pow.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 11:59:09 UTC 2023 - 2.3K bytes - Viewed (0) -
src/math/jn.go
// 1 -s-c -c+s // 2 -s+c -c-s // 3 s+c c-s var temp float64 switch s, c := Sincos(x); n & 3 { case 0: temp = c + s case 1: temp = -c + s case 2: temp = -c - s case 3: temp = c - s } b = (1 / SqrtPi) * temp / Sqrt(x) } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 7.2K bytes - Viewed (0) -
src/math/example_test.go
func ExampleCosh() { fmt.Printf("%.2f", math.Cosh(0)) // Output: 1.00 } func ExampleSin() { fmt.Printf("%.2f", math.Sin(math.Pi)) // Output: 0.00 } func ExampleSincos() { sin, cos := math.Sincos(0) fmt.Printf("%.2f, %.2f", sin, cos) // Output: 0.00, 1.00 } func ExampleSinh() { fmt.Printf("%.2f", math.Sinh(0)) // Output: 0.00 } func ExampleTan() { fmt.Printf("%.2f", math.Tan(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) -
src/math/j1.go
) // special cases switch { case IsNaN(x): return x case IsInf(x, 0) || x == 0: return 0 } sign := false if x < 0 { x = -x sign = true } if x >= 2 { s, c := Sincos(x) ss := -s - c cc := s - c // make sure x+x does not overflow if x < MaxFloat64/2 { z := Cos(x + x) if s*c > 0 { cc = z / ss } else { ss = z / cc } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 13.3K bytes - Viewed (0)