Searched refs:PSC_Q_FRACTION (Results 1 – 1 of 1) sorted by relevance
104 #define PSC_Q_FRACTION 19 macro105 #define PSC_Q_ROUND_OFFSET (1 << (PSC_Q_FRACTION - 1))119 result = (int)(temp >> PSC_Q_FRACTION); in mult_q()133 temp = (int64_t)A << PSC_Q_FRACTION; in div_q()150 int sum = 1 << PSC_Q_FRACTION; in exp_approx_q()151 int term = 1 << PSC_Q_FRACTION; in exp_approx_q()153 term = mult_q(term, div_q(x, 1 << PSC_Q_FRACTION)); in exp_approx_q()155 term = mult_q(term, div_q(x, 2 << PSC_Q_FRACTION)); in exp_approx_q()157 term = mult_q(term, div_q(x, 3 << PSC_Q_FRACTION)); in exp_approx_q()159 term = mult_q(term, div_q(x, 4 << PSC_Q_FRACTION)); in exp_approx_q()[all …]