HomeSort by relevance Sort by last modified time
    Searched refs:Sin (Results 1 - 25 of 43) sorted by null

1 2

  /prebuilts/go/darwin-x86/src/math/
sin_amd64.s 7 TEXT ·Sin(SB),NOSPLIT,$0
8 JMP ·sin(SB)
sin_arm.s 7 TEXT ·Sin(SB),NOSPLIT,$0
8 B ·sin(SB)
jn.go 94 // Yn(x) = sin(x-(2n+1)*pi/4)*sqrt(2/x*pi)
95 // Let s=sin(x), c=cos(x),
98 // n sin(xn)*sqt2 cos(xn)*sqt2
108 temp = Cos(x) + Sin(x)
110 temp = -Cos(x) + Sin(x)
112 temp = -Cos(x) - Sin(x)
114 temp = Cos(x) - Sin(x)
271 // Yn(x) = sin(x-(2n+1)*pi/4)*sqrt(2/x*pi)
272 // Let s=sin(x), c=cos(x),
275 // n sin(xn)*sqt2 cos(xn)*sqt
    [all...]
sin_386.s 28 // func Sin(x float64) float64
29 TEXT ·Sin(SB),NOSPLIT,$0
31 FSIN // F0=sin(x) if -2**63 < x < 2**63
45 FSIN // F0=sin(reduced_x)
sin.go 12 // below were from http://netlib.sandia.gov/cephes/cmath/sin.c,
16 // sin.c
22 // double x, y, sin();
23 // y = sin( x );
92 // sin coefficients
168 // Sin returns the sine of the radian argument x.
171 // Sin(±0) = ±0
172 // Sin(±Inf) = NaN
173 // Sin(NaN) = NaN
174 func Sin(x float64) float6
176 func sin(x float64) float64 { func
    [all...]
stubs_arm64.s 81 TEXT ·Sin(SB),NOSPLIT,$0
82 B ·sin(SB)
stubs_ppc64x.s 81 TEXT ·Sin(SB),NOSPLIT,$0
82 BR ·sin(SB)
lgamma.go 72 // -x*G(-x)*G(x) = pi/sin(pi*x),
74 // G(x) = pi/(sin(pi*x)*(-x)*G(-x))
75 // since G(-x) is positive, sign(G(x)) = sign(sin(pi*x)) for x<0
76 // Hence, for x<0, signgam = sign(sin(pi*x)) and
78 // = log(pi/(|x*sin(pi*x)|)) - lgamma(-x);
80 // computation of sin(pi*(-x)).
330 return -Sin(Pi * x)
354 x = Sin(Pi * x)
358 x = Sin(Pi * (1 - x))
362 x = Sin(Pi * (x - 2)
    [all...]
sincos.go 7 // Coefficients _sin[] and _cos[] are found in pkg/math/sin.go.
9 // Sincos returns Sin(x), Cos(x).
15 func Sincos(x float64) (sin, cos float64)
17 func sincos(x float64) (sin, cos float64) {
58 sin = z + z*zz*((((((_sin[0]*zz)+_sin[1])*zz+_sin[2])*zz+_sin[3])*zz+_sin[4])*zz+_sin[5])
60 sin, cos = cos, sin
66 sin = -sin
  /prebuilts/go/linux-x86/src/math/
sin_amd64.s 7 TEXT ·Sin(SB),NOSPLIT,$0
8 JMP ·sin(SB)
sin_arm.s 7 TEXT ·Sin(SB),NOSPLIT,$0
8 B ·sin(SB)
jn.go 94 // Yn(x) = sin(x-(2n+1)*pi/4)*sqrt(2/x*pi)
95 // Let s=sin(x), c=cos(x),
98 // n sin(xn)*sqt2 cos(xn)*sqt2
108 temp = Cos(x) + Sin(x)
110 temp = -Cos(x) + Sin(x)
112 temp = -Cos(x) - Sin(x)
114 temp = Cos(x) - Sin(x)
271 // Yn(x) = sin(x-(2n+1)*pi/4)*sqrt(2/x*pi)
272 // Let s=sin(x), c=cos(x),
275 // n sin(xn)*sqt2 cos(xn)*sqt
    [all...]
sin_386.s 28 // func Sin(x float64) float64
29 TEXT ·Sin(SB),NOSPLIT,$0
31 FSIN // F0=sin(x) if -2**63 < x < 2**63
45 FSIN // F0=sin(reduced_x)
sin.go 12 // below were from http://netlib.sandia.gov/cephes/cmath/sin.c,
16 // sin.c
22 // double x, y, sin();
23 // y = sin( x );
92 // sin coefficients
168 // Sin returns the sine of the radian argument x.
171 // Sin(±0) = ±0
172 // Sin(±Inf) = NaN
173 // Sin(NaN) = NaN
174 func Sin(x float64) float6
176 func sin(x float64) float64 { func
    [all...]
stubs_arm64.s 81 TEXT ·Sin(SB),NOSPLIT,$0
82 B ·sin(SB)
stubs_ppc64x.s 81 TEXT ·Sin(SB),NOSPLIT,$0
82 BR ·sin(SB)
lgamma.go 72 // -x*G(-x)*G(x) = pi/sin(pi*x),
74 // G(x) = pi/(sin(pi*x)*(-x)*G(-x))
75 // since G(-x) is positive, sign(G(x)) = sign(sin(pi*x)) for x<0
76 // Hence, for x<0, signgam = sign(sin(pi*x)) and
78 // = log(pi/(|x*sin(pi*x)|)) - lgamma(-x);
80 // computation of sin(pi*(-x)).
330 return -Sin(Pi * x)
354 x = Sin(Pi * x)
358 x = Sin(Pi * (1 - x))
362 x = Sin(Pi * (x - 2)
    [all...]
sincos.go 7 // Coefficients _sin[] and _cos[] are found in pkg/math/sin.go.
9 // Sincos returns Sin(x), Cos(x).
15 func Sincos(x float64) (sin, cos float64)
17 func sincos(x float64) (sin, cos float64) {
58 sin = z + z*zz*((((((_sin[0]*zz)+_sin[1])*zz+_sin[2])*zz+_sin[3])*zz+_sin[4])*zz+_sin[5])
60 sin, cos = cos, sin
66 sin = -sin
  /external/libgdx/gdx/src/com/badlogic/gdx/math/
MathUtils.java 23 * Thanks to Riven on JavaGaming.org for the basis of sin/cos/floor/ceil.
51 static private class Sin {
56 table[i] = (float)Math.sin((i + 0.5f) / SIN_COUNT * radFull);
58 table[(int)(i * degToIndex) & SIN_MASK] = (float)Math.sin(i * degreesToRadians);
63 static public float sin (float radians) { method in class:MathUtils
64 return Sin.table[(int)(radians * radToIndex) & SIN_MASK];
69 return Sin.table[(int)((radians + PI / 2) * radToIndex) & SIN_MASK];
74 return Sin.table[(int)(degrees * degToIndex) & SIN_MASK];
79 return Sin.table[(int)((degrees + 90) * degToIndex) & SIN_MASK];
  /external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
fft.c 147 # define SIN60 0.86602540378443865 /* sin(60 deg) */
149 # define SIN72 0.95105651629515357 /* sin(72 deg) */
286 REAL *Sin = NULL; /* Sine values */
288 REAL s60 = SIN60; /* sin(60 deg) */
290 REAL s72 = SIN72; /* sin(72 deg) */
343 Sin = (REAL *) fftstate->Tmp3;
427 cd = sin(sd);
429 sd = sin(sd + sd);
640 s1 = sin(s1);
645 Sin [jf - 1] = 0.0
    [all...]
  /prebuilts/go/darwin-x86/src/math/cmplx/
tan.go 40 // sin 2x + i sinh 2y
67 return complex(math.Sin(2*real(x))/d, math.Sinh(2*imag(x))/d)
74 // tanh z = (sinh 2x + i sin 2y) / (cosh 2x + cos 2y) .
88 return complex(math.Sinh(2*real(x))/d, math.Sin(2*imag(x))/d)
158 // sin 2x - i sinh 2y
183 return complex(math.Sin(2*real(x))/d, -math.Sinh(2*imag(x))/d)
sin.go 40 // w = sin x cosh y + i cos x sinh y.
52 // Sin returns the sine of x.
53 func Sin(x complex128) complex128 {
64 // = sinh x * cos y + i cosh x * sin y .
88 // w = cos x cosh y - i sin x sinh y.
108 // ccosh(z) = cosh x cos y + i sinh x sin y .
cmath_test.go 229 var sin = []complex128{ var
698 if f := Sin(vc[i]); !cSoclose(sin[i], f, 2e-15) {
699 t.Errorf("Sin(%g) = %g, want %g", vc[i], f, sin[i])
703 if f := Sin(vcSinSC[i]); !cAlike(sinSC[i], f) {
704 t.Errorf("Sin(%g) = %g, want %g", vcSinSC[i], f, sinSC[i])
844 Sin(complex(2.5, 3.5))
  /prebuilts/go/linux-x86/src/math/cmplx/
tan.go 40 // sin 2x + i sinh 2y
67 return complex(math.Sin(2*real(x))/d, math.Sinh(2*imag(x))/d)
74 // tanh z = (sinh 2x + i sin 2y) / (cosh 2x + cos 2y) .
88 return complex(math.Sinh(2*real(x))/d, math.Sin(2*imag(x))/d)
158 // sin 2x - i sinh 2y
183 return complex(math.Sin(2*real(x))/d, -math.Sinh(2*imag(x))/d)
sin.go 40 // w = sin x cosh y + i cos x sinh y.
52 // Sin returns the sine of x.
53 func Sin(x complex128) complex128 {
64 // = sinh x * cos y + i cosh x * sin y .
88 // w = cos x cosh y - i sin x sinh y.
108 // ccosh(z) = cosh x cos y + i sinh x sin y .

Completed in 358 milliseconds

1 2