Searched refs:absX (Results 1 – 12 of 12) sorted by relevance
/external/guava/android/guava/src/com/google/common/math/ |
D | DoubleUtils.java | 89 BigInteger absX = x.abs(); in bigToDouble() local 90 int exponent = absX.bitLength() - 1; in bigToDouble() 107 long twiceSignifFloor = absX.shiftRight(shift).longValue(); in bigToDouble() 117 (twiceSignifFloor & 1) != 0 && ((signifFloor & 1) != 0 || absX.getLowestSetBit() < shift); in bigToDouble()
|
/external/guava/guava/src/com/google/common/math/ |
D | DoubleUtils.java | 89 BigInteger absX = x.abs(); in bigToDouble() local 90 int exponent = absX.bitLength() - 1; in bigToDouble() 107 long twiceSignifFloor = absX.shiftRight(shift).longValue(); in bigToDouble() 117 (twiceSignifFloor & 1) != 0 && ((signifFloor & 1) != 0 || absX.getLowestSetBit() < shift); in bigToDouble()
|
/external/fonttools/Lib/fontTools/ttLib/ |
D | woff2.py | 940 absX = abs(x) 950 elif y == 0 and absX < 1280: 951 flags.append(onCurveBit + 10 + ((absX & 0xf00) >> 7) + xSignBit) 952 triplets.append(absX & 0xff) 953 elif absX < 65 and absY < 65: 954 flags.append(onCurveBit + 20 + ((absX - 1) & 0x30) + (((absY - 1) & 0x30) >> 2) + xySignBits) 955 triplets.append((((absX - 1) & 0xf) << 4) | ((absY - 1) & 0xf)) 956 elif absX < 769 and absY < 769: 957 …flags.append(onCurveBit + 84 + 12 * (((absX - 1) & 0x300) >> 8) + (((absY - 1) & 0x300) >> 6) + xy… 958 triplets.append((absX - 1) & 0xff) [all …]
|
/external/skia/tests/ |
D | PathOpsAngleTest.cpp | 130 double absX = fabs(x); in find_slop() local 132 double length = absX < absY ? absX / 2 + absY : absX + absY / 2; in find_slop()
|
/external/skqp/tests/ |
D | PathOpsAngleTest.cpp | 131 double absX = fabs(x); in find_slop() local 133 double length = absX < absY ? absX / 2 + absY : absX + absY / 2; in find_slop()
|
/external/angle/src/compiler/translator/tree_ops/ |
D | RewriteCubeMapSamplersAs2DArray.cpp | 438 TIntermSymbol *absX = new TIntermSymbol(CreateTempVariable(mSymbolTable, floatType)); in declareCoordTranslationFunction() local 443 &absX->variable(), in declareCoordTranslationFunction() 546 TIntermSequence argsMaxValue = {absX->deepCopy(), maxYZ}; in declareCoordTranslationFunction() 552 TIntermTyped *isXMajor = new TIntermBinary(EOpEqual, ma->deepCopy(), absX->deepCopy()); in declareCoordTranslationFunction() 610 new TIntermBinary(EOpAssign, ma->deepCopy(), absX->deepCopy())); in declareCoordTranslationFunction()
|
/external/llvm-project/flang/include/flang/Evaluate/ |
D | real.h | 257 A absX{x}; 259 absX = x.Negate();
|
/external/skqp/src/pathops/ |
D | SkOpAngle.cpp | 709 double absX = fabs(x); in findSector() local 711 double xy = SkPath::kLine_Verb == verb || !AlmostEqualUlps(absX, absY) ? absX - absY : 0; in findSector()
|
/external/skia/src/pathops/ |
D | SkOpAngle.cpp | 709 double absX = fabs(x); in findSector() local 711 double xy = SkPath::kLine_Verb == verb || !AlmostEqualUlps(absX, absY) ? absX - absY : 0; in findSector()
|
/external/swiftshader/src/Pipeline/ |
D | SamplerCore.cpp | 1322 Float4 absX = Abs(x); in cubeFace() local 1326 Int4 xy = CmpNLE(absX, absY); // abs(x) > abs(y) in cubeFace() 1328 Int4 zx = CmpNLE(absZ, absX); // abs(z) > abs(x) in cubeFace() 1356 M = Max(Max(absX, absY), absZ); in cubeFace()
|
/external/swiftshader/src/Shader/ |
D | SamplerCore.cpp | 1584 Float4 absX = Abs(x); in cubeFace() local 1588 Int4 xy = CmpNLE(absX, absY); // abs(x) > abs(y) in cubeFace() 1590 Int4 zx = CmpNLE(absZ, absX); // abs(z) > abs(x) in cubeFace() 1616 M = Max(Max(absX, absY), absZ); in cubeFace()
|
/external/mesa3d/prebuilt-intermediates/nir/ |
D | nir_constant_expressions.c | 20813 float absX = fabsf(src0.x); in evaluate_cube_face_coord() local 20818 if (absX >= absY && absX >= absZ) { ma = 2 * src0.x; } in evaluate_cube_face_coord() 20819 if (absY >= absX && absY >= absZ) { ma = 2 * src0.y; } in evaluate_cube_face_coord() 20820 if (absZ >= absX && absZ >= absY) { ma = 2 * src0.z; } in evaluate_cube_face_coord() 20822 if (src0.x >= 0 && absX >= absY && absX >= absZ) { dst.x = -src0.z; dst.y = -src0.y; } in evaluate_cube_face_coord() 20823 if (src0.x < 0 && absX >= absY && absX >= absZ) { dst.x = src0.z; dst.y = -src0.y; } in evaluate_cube_face_coord() 20824 if (src0.y >= 0 && absY >= absX && absY >= absZ) { dst.x = src0.x; dst.y = src0.z; } in evaluate_cube_face_coord() 20825 if (src0.y < 0 && absY >= absX && absY >= absZ) { dst.x = src0.x; dst.y = -src0.z; } in evaluate_cube_face_coord() 20826 if (src0.z >= 0 && absZ >= absX && absZ >= absY) { dst.x = src0.x; dst.y = -src0.y; } in evaluate_cube_face_coord() 20827 if (src0.z < 0 && absZ >= absX && absZ >= absY) { dst.x = -src0.x; dst.y = -src0.y; } in evaluate_cube_face_coord() [all …]
|