Lines Matching refs:frac
133 float frac; in celt_log2() local
141 frac = in.f - 1.5f; in celt_log2()
142 frac = -0.41445418f + frac*(0.95909232f in celt_log2()
143 + frac*(-0.33951290f + frac*0.16541097f)); in celt_log2()
144 return 1+integer+frac; in celt_log2()
151 float frac; in celt_exp2() local
159 frac = x-integer; in celt_exp2()
161 res.f = 0.99992522f + frac * (0.69583354f in celt_exp2()
162 + frac * (0.22606716f + 0.078024523f*frac)); in celt_exp2()
204 opus_val16 n, frac; in celt_log2() local
212 …frac = ADD16(C[0], MULT16_16_Q15(n, ADD16(C[1], MULT16_16_Q15(n, ADD16(C[2], MULT16_16_Q15(n, ADD1… in celt_log2()
213 return SHL16(i-13,DB_SHIFT)+SHR16(frac,14-DB_SHIFT); in celt_log2()
229 opus_val16 frac; in celt_exp2_frac() local
230 frac = SHL16(x, 4); in celt_exp2_frac()
231 …return ADD16(D0, MULT16_16_Q15(frac, ADD16(D1, MULT16_16_Q15(frac, ADD16(D2 , MULT16_16_Q15(D3,fra… in celt_exp2_frac()
237 opus_val16 frac; in celt_exp2() local
243 frac = celt_exp2_frac(x-SHL16(integer,10)); in celt_exp2()
244 return VSHR32(EXTEND32(frac), -integer-2); in celt_exp2()