Home | History | Annotate | Download | only in src

Lines Matching refs:x_e

824 FIXP_DBL fLog2(FIXP_DBL x_m, INT x_e, INT *result_e)
838 /* Move input value x_m * 2^x_e toward 1.0, where the taylor approximation
845 x_e = x_e - b_norm;
861 /* Add exponent part. log2(x_m * 2^x_e) = log2(x_m) + x_e */
862 if (x_e != 0)
866 enorm = DFRACT_BITS - fNorm((FIXP_DBL)x_e);
868 result_m = (result_m >> (enorm-1)) + ((FIXP_DBL)x_e << (DFRACT_BITS-1-enorm));
880 FIXP_DBL fLog2(FIXP_DBL x_m, INT x_e)
887 x_m = fLog2(x_m, x_e, &result_e);