• Home
  • Raw
  • Download

Lines Matching refs:result_e

519 FIXP_DBL fMultNorm(FIXP_DBL f1, FIXP_DBL f2, INT *result_e)  in fMultNorm()  argument
525 *result_e = 0; in fMultNorm()
534 *result_e = - (norm_f1 + norm_f2); in fMultNorm()
541 FIXP_DBL fDivNorm(FIXP_DBL L_num, FIXP_DBL L_denum, INT *result_e) in fDivNorm() argument
551 *result_e = 0; in fDivNorm()
558 *result_e = - norm_num + 1; in fDivNorm()
562 *result_e -= - norm_den; in fDivNorm()
596 FIXP_DBL fDivNormHighPrec(FIXP_DBL num, FIXP_DBL denom, INT *result_e) in fDivNormHighPrec() argument
606 *result_e = 0; in fDivNormHighPrec()
613 *result_e = - norm_num + 1; in fDivNormHighPrec()
617 *result_e -= - norm_den; in fDivNormHighPrec()
626 FIXP_DBL CalcLog2(FIXP_DBL base_m, INT base_e, INT *result_e) in CalcLog2() argument
628 return fLog2(base_m, base_e, result_e); in CalcLog2()
633 INT *result_e in f2Pow() argument
680 *result_e = int_part + 1; in f2Pow()
690 INT result_e; in f2Pow() local
692 result_m = f2Pow(exp_m, exp_e, &result_e); in f2Pow()
693 result_e = fixMin(DFRACT_BITS-1,fixMax(-(DFRACT_BITS-1),result_e)); in f2Pow()
695 return scaleValue(result_m, result_e); in f2Pow()
701 INT *result_e in fPow() argument
724 result = f2Pow(ans_lg2, ans_lg2_e, result_e); in fPow()
733 INT *result_e in fLdPow() argument
753 result = f2Pow(ans_lg2, ans_lg2_e, result_e); in fLdPow()
764 int result_e; in fLdPow() local
766 result_m = fLdPow(baseLd_m, baseLd_e, exp_m, exp_e, &result_e); in fLdPow()
768 return SATURATE_SHIFT(result_m, -result_e, DFRACT_BITS); in fLdPow()
780 INT result_e = 0; in fPowInt() local
801 result = fDivNorm( FL2FXCONST_DBL(0.5f), result, &result_e ); in fPowInt()
802 result_e++; in fPowInt()
806 result_e -= ansScale; in fPowInt()
809 result_e += exp * base_e; in fPowInt()
814 *pResult_e = result_e; in fPowInt()
824 FIXP_DBL fLog2(FIXP_DBL x_m, INT x_e, INT *result_e) in fLog2() argument
830 *result_e = DFRACT_BITS-1; in fLog2()
870 *result_e = enorm; in fLog2()
873 *result_e = 1; in fLog2()
886 INT result_e; in fLog2() local
887 x_m = fLog2(x_m, x_e, &result_e); in fLog2()
888 x_m = scaleValue(x_m, result_e-LD_DATA_SHIFT); in fLog2()