Home | History | Annotate | Download | only in src

Lines Matching full:result_e

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