Home
last modified time | relevance | path

Searched refs:cos (Results 1 – 19 of 19) sorted by relevance

/device/google/dragon/audio/hal/dsp/
Dbiquad.c58 double gamma = (0.5 + beta) * cos(theta); in biquad_lowpass()
93 double gamma = (0.5 + beta) * cos(theta); in biquad_highpass()
125 double k = cos(w0); in biquad_bandpass()
168 double k = cos(w0); in biquad_lowshelf()
203 double k = cos(w0); in biquad_highshelf()
237 double k = cos(w0); in biquad_peaking()
272 double k = cos(w0); in biquad_notch()
307 double k = cos(w0); in biquad_allpass()
/device/google/contexthub/firmware/lib/libm/
Dsf_cos.c59 double cos(double x) in cos() function
61 double cos(x) in cos()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dcmath_testcases.txt11 -- <function> is the function to be tested (exp, cos, asinh, ...),
1561 -- Similarly, for cos, sin and tan we limit tests to arguments
1952 -- cos: Cosine --
1956 cos0000 cos 0.0 0.0 -> 1.0 -0.0
1957 cos0001 cos 0.0 -0.0 -> 1.0 0.0
1958 cos0002 cos -0.0 0.0 -> 1.0 0.0
1959 cos0003 cos -0.0 -0.0 -> 1.0 -0.0
1962 cos0004 cos -2.0689194692073034 -0.0016802181751734313 -> -0.47777827208561469 -0.00147604015016959…
1963 cos0005 cos -0.4209627318177977 -1.8238516774258027 -> 2.9010402201444108 -1.2329207042329617
1964 cos0006 cos -1.9402181630694557 -2.9751857392891217 -> -3.5465459297970985 -9.1119163586282248
[all …]
Dieee754.txt139 >>> cos(INF)
143 >>> cos(NINF)
147 >>> cos(NAN)
Dtest_math.py328 self.assertRaises(TypeError, math.cos)
329 self.ftest('cos(-pi/2)', math.cos(-math.pi/2), 0)
330 self.ftest('cos(0)', math.cos(0), 1)
331 self.ftest('cos(pi/2)', math.cos(math.pi/2), 0)
332 self.ftest('cos(pi)', math.cos(math.pi), -1)
334 self.assertTrue(math.isnan(math.cos(INF)))
335 self.assertTrue(math.isnan(math.cos(NINF)))
337 self.assertRaises(ValueError, math.cos, INF)
338 self.assertRaises(ValueError, math.cos, NINF)
339 self.assertTrue(math.isnan(math.cos(NAN)))
Dmath_testcases.txt11 -- <function> is the function to be tested (exp, cos, asinh, ...),
Dtest_fractions.py570 self.assertAlmostEqual(math.cos(1), s)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dcmathmodule.c390 r.real = copysign(INF, cos(z.imag)); in c_cosh()
394 r.real = copysign(INF, cos(z.imag)); in c_cosh()
415 r.real = cos(z.imag) * cosh(x_minus_one) * Py_MATH_E; in c_cosh()
418 r.real = cos(z.imag) * cosh(z.real); in c_cosh()
449 r.real = copysign(INF, cos(z.imag)); in c_exp()
453 r.real = copysign(0., cos(z.imag)); in c_exp()
474 r.real = l*cos(z.imag)*Py_MATH_E; in c_exp()
478 r.real = l*cos(z.imag); in c_exp()
621 r.real = copysign(INF, cos(z.imag)); in c_sinh()
625 r.real = -copysign(INF, cos(z.imag)); in c_sinh()
[all …]
Dmathmodule.c88 r = cos(pi*(y-0.5)); in sinpi()
96 r = -cos(pi*(y-1.5)); in sinpi()
829 FUNC1(cos, cos, 0,
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Dcmathmodule.c390 r.real = copysign(INF, cos(z.imag)); in c_cosh()
394 r.real = copysign(INF, cos(z.imag)); in c_cosh()
415 r.real = cos(z.imag) * cosh(x_minus_one) * Py_MATH_E; in c_cosh()
418 r.real = cos(z.imag) * cosh(z.real); in c_cosh()
449 r.real = copysign(INF, cos(z.imag)); in c_exp()
453 r.real = copysign(0., cos(z.imag)); in c_exp()
474 r.real = l*cos(z.imag)*Py_MATH_E; in c_exp()
478 r.real = l*cos(z.imag); in c_exp()
621 r.real = copysign(INF, cos(z.imag)); in c_sinh()
625 r.real = -copysign(INF, cos(z.imag)); in c_sinh()
[all …]
Dmathmodule.c88 r = cos(pi*(y-0.5)); in sinpi()
96 r = -cos(pi*(y-1.5)); in sinpi()
829 FUNC1(cos, cos, 0,
/device/linaro/bootloader/edk2/StdLib/LibC/Math/
Ds_cos.c53 cos(double x) in cos() function
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/classes/
DComplex.py84 return Complex(math.cos(phi)*r, math.sin(phi)*r)
220 return Complex(math.cos(phi)*r, math.sin(phi)*r)
228 return Complex(math.cos(z.im)*r,math.sin(z.im)*r)
/device/linaro/bootloader/edk2/StdLib/Include/
Dmath.h148 double cos(double Arg);
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
Dlmathlib.c42 lua_pushnumber(L, l_mathop(cos)(luaL_checknumber(L, 1))); in math_cos()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Drandom.py46 from math import sqrt as _sqrt, acos as _acos, cos as _cos, sin as _sin
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Drandom.py46 from math import sqrt as _sqrt, acos as _acos, cos as _cos, sin as _sin
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dcomplexobject.c147 r.real = len*cos(phase); in c_pow()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dcomplexobject.c151 r.real = len*cos(phase); in c_pow()