Searched refs:intPart (Results 1 – 9 of 9) sorted by relevance
320 double intPart; in FloatToDecimal() local321 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 …]
35 int16_t tmp16, tmp16no1, tmp16no2, tmpIndFX, tableIndex, frac, intPart; in WebRtcNsx_SpeechNoiseProb() local224 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()
1027 int16_t zeros, frac, intPart; in WebRtcNsx_ComputeSpectralFlatness() local1069 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()
58 int intPart = SkScalarFloorToInt(delta); in onDrawContent() local59 delta = delta - SK_Scalar1 * intPart; in onDrawContent()60 if (intPart % 2) { in onDrawContent()
75 uint16_t tmpU16, intPart, fracPart; in WebRtcAgc_CalculateGainTable() local152 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()
3261 double intPart = 0; in doApply() local3263 TCU_INTERVAL_APPLY_MONOTONE1(fracIV, x, iargs.a, frac, frac = deModf(x, &intPart)); in doApply()3265 deModf(x, &intPart); whole = intPart); in doApply()
3210 double intPart = 0; in doApply() local3212 TCU_INTERVAL_APPLY_MONOTONE1(fracIV, x, iargs.a, frac, frac = deModf(x, &intPart)); in doApply()3214 deModf(x, &intPart); whole = intPart); in doApply()
2388 int intPart = (int)(prodA >>> 62); in reducePayneHanek() local2484 result[0] = intPart; in reducePayneHanek()
META-INF/ META-INF/MANIFEST.MF com/ com/ximpleware/ com/ ...