Lines Matching defs:shift
381 description: delivers 1/sqrt(op) normalized to .5...1 and the shift value of the OUTPUT
420 delivers 1/sqrt(op) normalized to .5...1 and the shift value of the OUTPUT,
421 i.e. the denormalized result is 1/sqrt(op) = invSqrtNorm(op) * 2^(shift)
426 FIXP_DBL invSqrtNorm2(FIXP_DBL op, INT *shift)
433 *shift = 1 ;
438 /* normalize input, calculate shift value */
440 *shift = fNormz(val) - 1; /* CountLeadingBits() is not necessary here since test value is always > 0 */
441 val <<=*shift ; /* normalized input V */
442 *shift+=2 ; /* bias for exponent */
453 if (*shift & 0x00000001) { /* odd shift values ? */
458 *shift = *shift>>1;
867 /* The -1 in the right shift of result_m compensates the fMultDiv2() above in the taylor polinomial evaluation loop.*/