Home | History | Annotate | Download | only in src

Lines Matching refs:exp

52     int32 frac, int16 exp : L_32 = frac << exp-31  (normalised format)
281 int16 exp;
284 exp = normalize_amr_wb(L_x);
285 L_x <<= exp; /* L_x is normalized */
286 exp = 31 - exp;
288 one_ov_sqrt_norm(&L_x, &exp);
290 L_y = shl_int32(L_x, exp); /* denormalization */
300 if value is negative or zero, result is 1 (frac=7fffffff, exp=0).
325 int16 * exp /* (i/o) : exponent (value = frac x 2^exponent) */
333 *exp = 0;
338 if ((*exp & 1) == 1) /* If exponant odd -> shift right */
341 *exp = negate_int16((*exp - 1) >> 1);
389 int16 exp, i, a, tmp;
401 exp = 29 - exponant ;
403 if (exp)
405 L_x = ((L_x >> exp) + ((L_x >> (exp - 1)) & 1));
428 int16 * exp /* (o) : exponent of result (0..+30) */
456 *exp = 30 - sft; /* exponent = 0..30 */
474 * PURPOSE: Computes log2(L_x, exp), where L_x is positive and
475 * normalized, and exp is the normalisation exponent
491 int16 exp, /* (i) : norm_l (L_x) */
506 *exponent = 30 - exp;
544 int16 exp;
546 exp = normalize_amr_wb(L_x);
547 Lg2_normalized(shl_int32(L_x, exp), exp, exponent, fraction);