Home
last modified time | relevance | path

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

/external/skia/samplecode/
DSampleDegenerateTwoPtRadials.cpp49 int intPart = SkScalarFloorToInt(delta); in onDrawContent() local
50 delta = delta - SK_Scalar1 * intPart; in onDrawContent()
51 if (intPart % 2) { in onDrawContent()
/external/skqp/samplecode/
DSampleDegenerateTwoPtRadials.cpp56 int intPart = SkScalarFloorToInt(delta); in onDrawContent() local
57 delta = delta - SK_Scalar1 * intPart; in onDrawContent()
58 if (intPart % 2) { in onDrawContent()
/external/webrtc/modules/audio_processing/agc/legacy/
Ddigital_agc.cc80 uint16_t tmpU16, intPart, fracPart; in WebRtcAgc_CalculateGainTable() local
159 intPart = (uint16_t)(absInLevel >> 14); in WebRtcAgc_CalculateGainTable()
162 tmpU16 = kGenFuncTable[intPart + 1] - kGenFuncTable[intPart]; // Q8 in WebRtcAgc_CalculateGainTable()
164 tmpU32no1 += (uint32_t)kGenFuncTable[intPart] << 14; // Q22 in WebRtcAgc_CalculateGainTable()
225 intPart = (int16_t)(tmp32 >> 14); in WebRtcAgc_CalculateGainTable()
239 (1 << intPart) + WEBRTC_SPL_SHIFT_W32(fracPart, intPart - 14); in WebRtcAgc_CalculateGainTable()
/external/swiftshader/src/OpenGL/compiler/
DInfoSink.h23 float intPart = 0.0f; in fractionalPart() local
24 return modff(f, &intPart); in fractionalPart()
/external/angle/src/compiler/translator/
DInfoSink.h25 float intPart = 0.0f; in fractionalPart() local
26 return modff(f, &intPart); in fractionalPart()
/external/llvm-project/flang/include/flang/Evaluate/
Dreal.h223 ValueWithRealFlags<Real> intPart{ToWholeNumber(mode)};
224 int exponent{intPart.value.Exponent()};
227 result.flags |= intPart.flags;
231 result.value.ConvertUnsigned(intPart.value.GetFraction().SHIFTR(-shift))
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktSampleVerifierUtil.cpp223 double intPart[2]; in calcTexelGridCoordRange() local
227 fracPart[ndx] = (float) deModf(comp[ndx], &intPart[ndx]); in calcTexelGridCoordRange()
231 intPart [ndx] -= 1.0; in calcTexelGridCoordRange()
236 const deInt32 nearestTexelGridOffsetMin = (deInt32) deFloor(intPart[0]); in calcTexelGridCoordRange()
237 const deInt32 nearestTexelGridOffsetMax = (deInt32) deFloor(intPart[1]); in calcTexelGridCoordRange()
/external/cldr/tools/java/org/unicode/cldr/util/
DRational.java525 BigInteger intPart = p.divide(q); in toRepeating() local
526 s.append(nf.format(intPart)); in toRepeating()
/external/llvm-project/flang/lib/Evaluate/
Dreal.cpp452 char intPart = '0' + frac.BTEST(frac.bits - 1); in DumpHexadecimal() local
453 result += intPart; in DumpHexadecimal()
/external/deqp/modules/glshared/
DglsBuiltinPrecisionTests.cpp3326 double intPart = 0; in doApply() local
3328 TCU_INTERVAL_APPLY_MONOTONE1(fracIV, x, iargs.a, frac, frac = deModf(x, &intPart)); in doApply()
3330 deModf(x, &intPart); whole = intPart); in doApply()
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
DFastMath.java2388 int intPart = (int)(prodA >>> 62); in reducePayneHanek() local
2484 result[0] = intPart; in reducePayneHanek()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderBuiltinPrecisionTests.cpp4262 double intPart = 0; in doApply() local
4264 TCU_INTERVAL_APPLY_MONOTONE1(fracIV, x, iargs.a, frac, frac = deModf(x, &intPart)); in doApply()
4266 deModf(x, &intPart); whole = intPart); in doApply()