Searched refs:frac_part (Results 1 – 5 of 5) sorted by relevance
594 FIXP_DBL frac_part, result_m; in f2Pow() local600 frac_part = exp_m - (FIXP_DBL)(int_part << exp_bits); in f2Pow()601 frac_part = frac_part << exp_e; in f2Pow()604 frac_part = exp_m >> -exp_e; in f2Pow()608 if (frac_part > FL2FXCONST_DBL(0.5f)) { in f2Pow()610 frac_part = frac_part + FL2FXCONST_DBL(-1.0f); in f2Pow()612 if (frac_part < FL2FXCONST_DBL(-0.5f)) { in f2Pow()614 frac_part = -(FL2FXCONST_DBL(-1.0f) - frac_part); in f2Pow()625 p = frac_part; in f2Pow()632 p = fMult(p, frac_part); in f2Pow()
101 uint64_t frac_part = 0; in parse_bcd() local140 double frac = (frac_part / pow (10.0, (double)frac_count)); in parse_bcd()201 if (likely (frac_part <= MAX_FRACT / 10)) in parse_bcd()203 frac_part = (frac_part * 10) + (unsigned)d; in parse_bcd()
664 FT_Int frac_part; in fixed2float() local684 frac_part = fixed & 0xFFFF; in fixed2float()698 if ( !frac_part ) in fixed2float()706 frac_part = frac_part * 10 + 5; in fixed2float()711 *p++ = '0' + (char)( frac_part / 0x10000L ); in fixed2float()713 frac_part %= 0x10000L; in fixed2float()714 if ( !frac_part ) in fixed2float()717 frac_part *= 10; in fixed2float()743 if ( frac_part < 34480 * 10 && in fixed2float()748 else if ( frac_part == 17232 * 10 && in fixed2float()[all …]
593 int16_t frac_part = 0; in WebRtcNsx_CalcParametricNoiseEstimate() local607 frac_part = (int16_t)(tmp32no1 & 0x000007ff); // Q11 in WebRtcNsx_CalcParametricNoiseEstimate()611 if (frac_part >> 10) { in WebRtcNsx_CalcParametricNoiseEstimate()613 tmp32no2 = (2048 - frac_part) * 1244; // Q21 in WebRtcNsx_CalcParametricNoiseEstimate()617 tmp32no2 = (frac_part * 804) >> 10; in WebRtcNsx_CalcParametricNoiseEstimate()
1374 frac_part = val & (1 << self.frac_bits) - 11375 frac_part /= 2.0**self.frac_bits1376 return int_part+frac_part