/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/ |
pymath.c | 72 double absx, y;
local 73 absx = fabs(x);
74 y = floor(absx);
75 if (absx - y >= 0.5)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
pymath.c | 72 double absx, y;
local 73 absx = fabs(x);
74 y = floor(absx);
75 if (absx - y >= 0.5)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
_math.c | 92 double absx = fabs(x);
local 97 if (absx < two_pow_m28) { /* |x| < 2**-28 */
100 if (absx > two_pow_p28) { /* |x| > 2**28 */
101 w = log(absx)+ln2;
103 else if (absx > 2.0) { /* 2 < |x| < 2**28 */
104 w = log(2.0*absx + 1.0 / (sqrt(x*x + 1.0) + absx));
108 w = m_log1p(absx + t / (1.0 + sqrt(1.0 + t)));
134 double absx;
local 140 absx = fabs(x); [all...] |
mathmodule.c | 233 double absx, r, y, z, sqrtpow;
local 258 absx = fabs(x);
261 if (absx < 1e-20) {
271 if (absx > 200.0) {
281 y = absx + lanczos_g_minus_half;
283 if (absx > lanczos_g_minus_half) {
288 double q = y - absx;
293 z = q - absx;
297 r = -pi / sinpi(absx) / absx * exp(y) / lanczos_sum(absx); 333 double r, absx; local 493 double absx, cf; local 511 double absx, cf; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
_math.c | 92 double absx = fabs(x);
local 97 if (absx < two_pow_m28) { /* |x| < 2**-28 */
100 if (absx > two_pow_p28) { /* |x| > 2**28 */
101 w = log(absx)+ln2;
103 else if (absx > 2.0) { /* 2 < |x| < 2**28 */
104 w = log(2.0*absx + 1.0 / (sqrt(x*x + 1.0) + absx));
108 w = m_log1p(absx + t / (1.0 + sqrt(1.0 + t)));
134 double absx;
local 140 absx = fabs(x); [all...] |
mathmodule.c | 233 double absx, r, y, z, sqrtpow;
local 258 absx = fabs(x);
261 if (absx < 1e-20) {
271 if (absx > 200.0) {
281 y = absx + lanczos_g_minus_half;
283 if (absx > lanczos_g_minus_half) {
288 double q = y - absx;
293 z = q - absx;
297 r = -pi / sinpi(absx) / absx * exp(y) / lanczos_sum(absx); 333 double r, absx; local 493 double absx, cf; local 511 double absx, cf; local [all...] |
/prebuilts/go/darwin-x86/src/math/ |
log1p.go | 125 absx := x 126 if absx < 0 { 127 absx = -absx 133 if absx < Sqrt2M1 { // |x| < Sqrt(2)-1 134 if absx < Small { // |x| < 2**-29 135 if absx < Tiny { // |x| < 2**-54 150 if absx < Two53 { // 1<<53
|
expm1.go | 152 absx := x 155 absx = -absx 160 if absx >= Ln2X56 { // if |x| >= 56 * ln2 164 if absx >= Othreshold { // if |x| >= 709.78... 172 if absx > Ln2Half { // if |x| > 0.5 * ln2 174 if absx < Ln2HalfX3 { // and |x| < 1.5 * ln2 196 } else if absx < Tiny { // when |x| < 2**-54, return x
|
/prebuilts/go/linux-x86/src/math/ |
log1p.go | 125 absx := x 126 if absx < 0 { 127 absx = -absx 133 if absx < Sqrt2M1 { // |x| < Sqrt(2)-1 134 if absx < Small { // |x| < 2**-29 135 if absx < Tiny { // |x| < 2**-54 150 if absx < Two53 { // 1<<53
|
expm1.go | 152 absx := x 155 absx = -absx 160 if absx >= Ln2X56 { // if |x| >= 56 * ln2 164 if absx >= Othreshold { // if |x| >= 709.78... 172 if absx > Ln2Half { // if |x| > 0.5 * ln2 174 if absx < Ln2HalfX3 { // and |x| < 1.5 * ln2 196 } else if absx < Tiny { // when |x| < 2**-54, return x
|
/external/guava/guava/src/com/google/common/math/ |
DoubleUtils.java | 93 BigInteger absX = x.abs(); 94 int exponent = absX.bitLength() - 1; 108 * It helps to consider the real number signif = absX * 2^(SIGNIFICAND_BITS - exponent). 111 long twiceSignifFloor = absX.shiftRight(shift).longValue(); 121 && ((signifFloor & 1) != 0 || absX.getLowestSetBit() < shift);
|
/external/skia/tests/ |
PathOpsAngleTest.cpp | 131 double absX = fabs(x); 133 double length = absX < absY ? absX / 2 + absY : absX + absY / 2;
|
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/ |
BufferImage.c | [all...] |
/frameworks/base/core/java/android/inputmethodservice/ |
KeyboardView.java | 401 final float absX = Math.abs(velocityX); 411 if (velocityX > mSwipeThreshold && absY < absX && deltaX > travelX) { 418 } else if (velocityX < -mSwipeThreshold && absY < absX && deltaX < -travelX) { 425 } else if (velocityY < -mSwipeThreshold && absX < absY && deltaY < -travelY) { 432 } else if (velocityY > mSwipeThreshold && absX < absY / 2 && deltaY > travelY) { [all...] |
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/ |
KeyboardView.java | 461 final float absX = Math.abs(velocityX); 471 if (velocityX > mSwipeThreshold && absY < absX && deltaX > travelX) { 478 } else if (velocityX < -mSwipeThreshold && absY < absX && deltaX < -travelX) { 485 } else if (velocityY < -mSwipeThreshold && absX < absY && deltaY < -travelY) { 492 } else if (velocityY > mSwipeThreshold && absX < absY / 2 && deltaY > travelY) { [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
KeyboardView.java | 386 final float absX = Math.abs(velocityX); 396 if (velocityX > mSwipeThreshold && absY < absX && deltaX > travelX) { 403 } else if (velocityX < -mSwipeThreshold && absY < absX && deltaX < -travelX) { 410 } else if (velocityY < -mSwipeThreshold && absX < absY && deltaY < -travelY) { 417 } else if (velocityY > mSwipeThreshold && absX < absY / 2 && deltaY > travelY) { [all...] |
/external/skia/src/pathops/ |
SkOpAngle.cpp | 607 double absX = fabs(x); 609 double xy = SkPath::kLine_Verb == verb || !AlmostEqualUlps(absX, absY) ? absX - absY : 0; [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
TaskStackLayoutAlgorithm.java | 100 public boolean isInRange(float absX) { 101 return (absX >= Math.floor(min)) && (absX <= Math.ceil(max)); [all...] |
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/ |
FileBuffer.c | [all...] |
/external/libvncserver/webclients/novnc/include/ |
display.js | 291 absX: function (x) {
|
rfb.js | 571 RFB.messages.pointerEvent(this._display.absX(x), this._display.absY(y), this._mouse_buttonMask)); 591 RFB.messages.pointerEvent(this._display.absX(x), this._display.absY(y), this._mouse_buttonMask)); [all...] |
/external/swiftshader/src/Shader/ |
SamplerCore.cpp | [all...] |
/frameworks/base/core/java/android/view/ |
ViewRootImpl.java | [all...] |