/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_math.py | 204 self.assertRaises(TypeError, math.atan2) 205 self.ftest('atan2(-1, 0)', math.atan2(-1, 0), -math.pi/2) 206 self.ftest('atan2(-1, 1)', math.atan2(-1, 1), -math.pi/4) 207 self.ftest('atan2(0, 1)', math.atan2(0, 1), 0) 208 self.ftest('atan2(1, 1)', math.atan2(1, 1), math.pi/4) 209 self.ftest('atan2(1, 0)', math.atan2(1, 0), math.pi/2) 212 self.ftest('atan2(0., -inf)', math.atan2(0., NINF), math.pi) 213 self.ftest('atan2(0., -2.3)', math.atan2(0., -2.3), math.pi) 214 self.ftest('atan2(0., -0.)', math.atan2(0., -0.), math.pi) 215 self.assertEqual(math.atan2(0., 0.), 0.) [all …]
|
D | test_complex.py | 5 from math import atan2, isnan, copysign 290 return atan2(x, -1.) 504 self.assertEqual(atan2(z1.imag, -1.), atan2(0., -1.)) 505 self.assertEqual(atan2(z2.imag, -1.), atan2(-0., -1.))
|
D | test_float.py | 531 return 0.0, math.atan2(0.0, -1) 533 return 0.0, math.atan2(-0.0, -1) 535 return -0.0, math.atan2(0.0, -1) 537 return -0.0, math.atan2(-0.0, -1) 544 self.assertEqual(math.atan2(-1e-1000, -1), math.atan2(-0.0, -1)) 545 self.assertEqual(math.atan2(float('-1e-1000'), -1), 546 math.atan2(-0.0, -1))
|
D | cmath_testcases.txt | 2323 -- are defined in terms of the functions hypot and atan2).
|
/device/google/contexthub/firmware/lib/libm/ |
D | wf_atan2.c | 37 double atan2(double y, double x) in atan2() function 39 double atan2(y,x) in atan2()
|
/device/linaro/bootloader/edk2/StdLib/LibC/Math/ |
D | w_atan2.c | 27 atan2(double y, double x) /* wrapper atan2 */ in atan2() function
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
D | pymath.c | 60 if (y > 0. || (y == 0. && atan2(y, -1.) > 0.)) { in copysign()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/ |
D | pymath.c | 60 if (y > 0. || (y == 0. && atan2(y, -1.) > 0.)) { in copysign()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
D | cmathmodule.c | 135 r.real = atan2(fabs(z.imag), z.real); in c_acos() 152 r.real = 2.*atan2(s1.real, s2.real); in c_acos() 177 r.imag = atan2(z.imag, z.real); in c_acosh() 186 r.imag = 2.*atan2(s1.imag, s2.real); in c_acosh() 234 r.imag = atan2(z.imag, fabs(z.real)); in c_asinh() 243 r.imag = atan2(z.imag, s1.real*s2.real-s1.imag*s2.imag); in c_asinh() 295 return atan2(z.imag, z.real); in c_atan2() 342 r.imag = copysign(atan2(2., -ay)/2, z.imag); in c_atanh() 347 r.imag = -atan2(-2.*z.imag, (1-z.real)*(1+z.real) - ay*ay)/2.; in c_atanh() 547 r.imag = atan2(z.imag, z.real); in c_log() [all …]
|
D | mathmodule.c | 557 return atan2(y, x); in m_atan2() 819 FUNC2(atan2, m_atan2,
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
D | cmathmodule.c | 135 r.real = atan2(fabs(z.imag), z.real); in c_acos() 152 r.real = 2.*atan2(s1.real, s2.real); in c_acos() 177 r.imag = atan2(z.imag, z.real); in c_acosh() 186 r.imag = 2.*atan2(s1.imag, s2.real); in c_acosh() 234 r.imag = atan2(z.imag, fabs(z.real)); in c_asinh() 243 r.imag = atan2(z.imag, s1.real*s2.real-s1.imag*s2.imag); in c_asinh() 295 return atan2(z.imag, z.real); in c_atan2() 342 r.imag = copysign(atan2(2., -ay)/2, z.imag); in c_atanh() 347 r.imag = -atan2(-2.*z.imag, (1-z.real)*(1+z.real) - ay*ay)/2.; in c_atanh() 547 r.imag = atan2(z.imag, z.real); in c_log() [all …]
|
D | mathmodule.c | 557 return atan2(y, x); in m_atan2() 819 FUNC2(atan2, m_atan2,
|
/device/linaro/bootloader/edk2/StdLib/Include/ |
D | math.h | 140 double atan2(double Num, double Denom);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/ |
D | lmathlib.c | 77 lua_pushnumber(L, l_mathop(atan2)(luaL_checknumber(L, 1), in math_atan2()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/classes/ |
D | Complex.py | 174 return (fullcircle/twopi) * ((halfpi - math.atan2(self.re, self.im)) % twopi)
|
/device/google/contexthub/firmware/external/freebsd/lib/msun/src/ |
D | math_private.h | 682 #define __ieee754_atan2 atan2
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
D | complexobject.c | 141 at = atan2(a.imag, a.real); in c_pow()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
D | complexobject.c | 145 at = atan2(a.imag, a.real); in c_pow()
|