Home
last modified time | relevance | path

Searched refs:TWO_PI (Results 1 – 8 of 8) sorted by relevance

/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DTwoSineWavesTone.java41 mPhaseIncrement1 = Constant.TWO_PI * (frequency1 / mSamplingRate); // should < 2pi in TwoSineWavesTone()
42 mPhaseIncrement2 = Constant.TWO_PI * (frequency2 / mSamplingRate); // should < 2pi in TwoSineWavesTone()
65 if (mPhase1 > Constant.TWO_PI) { in generateTone()
66 mPhase1 -= Constant.TWO_PI; in generateTone()
68 if (mPhase2 > Constant.TWO_PI) { in generateTone()
69 mPhase2 -= Constant.TWO_PI; in generateTone()
93 if (mPhase1 > Constant.TWO_PI) { in generateTone()
94 mPhase1 -= Constant.TWO_PI; in generateTone()
96 if (mPhase2 > Constant.TWO_PI) { in generateTone()
97 mPhase2 -= Constant.TWO_PI; in generateTone()
DSineWaveTone.java35 mPhaseIncrement = Constant.TWO_PI * (frequency / mSamplingRate); // should < 2pi in SineWaveTone()
54 if (mPhase >= Constant.TWO_PI) { in generateTone()
55 mPhase -= Constant.TWO_PI; in generateTone()
75 if (mPhase >= Constant.TWO_PI) { in generateTone()
76 mPhase -= Constant.TWO_PI; in generateTone()
DUtilities.java34 coefficient = (Constant.TWO_PI * i) / (length - 1); in hanningWindow()
DConstant.java25 public static final double TWO_PI = 2.0 * Math.PI; field in Constant
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
DSaddlePointExpansion.java49 private static final double HALF_LOG_2_PI = 0.5 * FastMath.log(MathUtils.TWO_PI);
196 double f = (MathUtils.TWO_PI * x * (n - x)) / n; in logBinomialProbability()
DPoissonDistributionImpl.java197 FastMath.sqrt(MathUtils.TWO_PI * x); in probability()
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
DMathUtils.java48 public static final double TWO_PI = 2 * FastMath.PI; field in MathUtils
1396 return a - TWO_PI * FastMath.floor((a + FastMath.PI - center) / TWO_PI);
/external/llvm/lib/Target/AMDGPU/
DAMDGPUInstructions.td419 int TWO_PI = 0x40c90fdb;