Home
last modified time | relevance | path

Searched refs:twopi (Results 1 – 12 of 12) sorted by relevance

/external/ltp/testcases/misc/math/fptests/
Dfptest01.c340 static double twopi; variable
346 twopi = 2. * acos((double)-1.0); in gaussinit()
347 u1 = twopi / 400.0; in gaussinit()
348 u2 = twopi / 500.0; in gaussinit()
359 u1 = twopi / 500.0; in gauss()
362 u2 = twopi / 400.0; in gauss()
366 x1 = sqrt(-2.0 * log(u1)) * cos(twopi * u2); in gauss()
370 x2 = sqrt(-2.0 * log(u1)) * sin(twopi * u2); in gauss()
Dfptest02.c321 static double twopi; variable
329 twopi = 2. * acos((double)-1.0); in gaussinit()
341 x1 = sqrt(-2.0 * log(u1)) * cos(twopi * u2); in gauss()
345 x2 = sqrt(-2.0 * log(u1)) * sin(twopi * u2); in gauss()
/external/valgrind/perf/
Dfbench.c358 twopi =pic * 2.0, variable
405 if (x > twopi)
406 x -= (aint(x / twopi) * twopi);
440 if (x > twopi) /* Do range reduction here to limit */
441 x = x - (aint(x / twopi) * twopi); /* roundoff on add of PI/2 */
/external/valgrind/memcheck/tests/
Dvcpu_fbench.c362 twopi =pic * 2.0, variable
409 if (x > twopi)
410 x -= (aint(x / twopi) * twopi);
444 if (x > twopi) /* Do range reduction here to limit */
445 x = x - (aint(x / twopi) * twopi); /* roundoff on add of PI/2 */
/external/python/cpython2/Demo/classes/
DComplex.py68 twopi = math.pi*2.0 variable
82 def PolarToComplex(r = 0, phi = 0, fullcircle = twopi):
83 phi = phi * (twopi / fullcircle)
173 def angle(self, fullcircle = twopi):
174 return (fullcircle/twopi) * ((halfpi - math.atan2(self.re, self.im)) % twopi)
/external/swiftshader/third_party/LLVM/include/llvm/Config/
Dllvm-config.h.in97 /* Define to path to twopi program if found or 'echo twopi' otherwise */
Dllvm-config.h.cmake97 /* Define to path to twopi program if found or 'echo twopi' otherwise */
Dconfig.h.in615 /* Define to path to twopi program if found or 'echo twopi' otherwise */
Dconfig.h.cmake617 /* Define to path to twopi program if found or 'echo twopi' otherwise */
/external/swiftshader/third_party/LLVM/autoconf/
Dconfigure.ac943 AC_PATH_PROG(TWOPI, [twopi], [echo twopi])
944 if test "$TWOPI" != "echo twopi" ; then
951 [Define to path to twopi program if found or 'echo twopi' otherwise])
/external/swiftshader/third_party/LLVM/cmake/
Dconfig-ix.cmake235 llvm_find_program(twopi)
/external/swiftshader/third_party/LLVM/
Dconfigure6368 set dummy twopi; ac_word=$2