Searched refs:intPart (Results 1 – 8 of 8) sorted by relevance
/external/skia/src/pdf/ |
D | SkPDFUtils.cpp | 320 double intPart; in FloatToDecimal() local 321 double fracPart = std::modf(static_cast<double>(value), &intPart); in FloatToDecimal() 322 SkASSERT(intPart + fracPart == static_cast<double>(value)); in FloatToDecimal() 327 SkASSERT(intPart >= 0.0 && fracPart >= 0.0); // negative handled already. in FloatToDecimal() 328 SkASSERT(intPart > 0.0 || fracPart > 0.0); // zero already caught. in FloatToDecimal() 329 if (intPart > 0.0) { in FloatToDecimal() 336 int digit = static_cast<int>(std::fmod(intPart, 10.0)); in FloatToDecimal() 339 intPart = std::floor(intPart / 10.0); in FloatToDecimal() 340 } while (intPart > 0.0); in FloatToDecimal() 352 fracPart = std::modf(fracPart * 10.0, &intPart); in FloatToDecimal() [all …]
|
/external/webrtc/webrtc/modules/audio_processing/ns/ |
D | nsx_core_c.c | 35 int16_t tmp16, tmp16no1, tmp16no2, tmpIndFX, tableIndex, frac, intPart; in WebRtcNsx_SpeechNoiseProb() local 224 intPart = (int16_t)(tmp32no1 >> 12); in WebRtcNsx_SpeechNoiseProb() 225 if (intPart < -8) { in WebRtcNsx_SpeechNoiseProb() 226 intPart = -8; in WebRtcNsx_SpeechNoiseProb() 233 invLrtFX = (1 << (8 + intPart)) + in WebRtcNsx_SpeechNoiseProb() 234 WEBRTC_SPL_SHIFT_W32(tmp32no2, intPart - 4); // Q8 in WebRtcNsx_SpeechNoiseProb()
|
D | nsx_core.c | 1027 int16_t zeros, frac, intPart; in WebRtcNsx_ComputeSpectralFlatness() local 1069 intPart = 7 - (logCurSpectralFlatness >> 17); // Add 7 for output in Q10. in WebRtcNsx_ComputeSpectralFlatness() 1070 if (intPart > 0) { in WebRtcNsx_ComputeSpectralFlatness() 1071 currentSpectralFlatness = tmp32 >> intPart; in WebRtcNsx_ComputeSpectralFlatness() 1073 currentSpectralFlatness = tmp32 << -intPart; in WebRtcNsx_ComputeSpectralFlatness()
|
/external/skia/samplecode/ |
D | SampleDegenerateTwoPtRadials.cpp | 58 int intPart = SkScalarFloorToInt(delta); in onDrawContent() local 59 delta = delta - SK_Scalar1 * intPart; in onDrawContent() 60 if (intPart % 2) { in onDrawContent()
|
/external/webrtc/webrtc/modules/audio_processing/agc/legacy/ |
D | digital_agc.c | 75 uint16_t tmpU16, intPart, fracPart; in WebRtcAgc_CalculateGainTable() local 152 intPart = (uint16_t)(absInLevel >> 14); in WebRtcAgc_CalculateGainTable() 154 tmpU16 = kGenFuncTable[intPart + 1] - kGenFuncTable[intPart]; // Q8 in WebRtcAgc_CalculateGainTable() 156 tmpU32no1 += (uint32_t)kGenFuncTable[intPart] << 14; // Q22 in WebRtcAgc_CalculateGainTable() 233 intPart = (int16_t)(tmp32 >> 14); in WebRtcAgc_CalculateGainTable() 249 (1 << intPart) + WEBRTC_SPL_SHIFT_W32(fracPart, intPart - 14); in WebRtcAgc_CalculateGainTable()
|
/external/deqp/modules/glshared/ |
D | glsBuiltinPrecisionTests.cpp | 3261 double intPart = 0; in doApply() local 3263 TCU_INTERVAL_APPLY_MONOTONE1(fracIV, x, iargs.a, frac, frac = deModf(x, &intPart)); in doApply() 3265 deModf(x, &intPart); whole = intPart); in doApply()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderBuiltinPrecisionTests.cpp | 3210 double intPart = 0; in doApply() local 3212 TCU_INTERVAL_APPLY_MONOTONE1(fracIV, x, iargs.a, frac, frac = deModf(x, &intPart)); in doApply() 3214 deModf(x, &intPart); whole = intPart); in doApply()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
D | FastMath.java | 2388 int intPart = (int)(prodA >>> 62); in reducePayneHanek() local 2484 result[0] = intPart; in reducePayneHanek()
|