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()
675 FT_Int frac_part; in fixed2float() local695 frac_part = fixed & 0xFFFF; in fixed2float()709 if ( !frac_part ) in fixed2float()717 frac_part = frac_part * 10 + 5; in fixed2float()722 *p++ = '0' + (char)( frac_part / 0x10000L ); in fixed2float()724 frac_part %= 0x10000L; in fixed2float()725 if ( !frac_part ) in fixed2float()728 frac_part *= 10; in fixed2float()754 if ( frac_part < 34480 * 10 && in fixed2float()759 else if ( frac_part == 17232 * 10 && in fixed2float()[all …]
66 const int frac_part = (offset >> 1) & 3; // fractional mv data in keep_one_comp_stat() local107 const int frac_part_rate = get_symbol_cost(frac_part_cdf, frac_part); in keep_one_comp_stat()109 update_cdf(frac_part_cdf, frac_part, MV_FP_SIZE); in keep_one_comp_stat()
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