Lines Matching refs:result_e
427 FIXP_DBL fMultNorm(FIXP_DBL f1, FIXP_DBL f2, INT *result_e) { in fMultNorm() argument
432 *result_e = 0; in fMultNorm()
442 *result_e = -(norm_f1 + norm_f2 - 1); in fMultNorm()
445 *result_e = -(norm_f1 + norm_f2); in fMultNorm()
453 FIXP_DBL fDivNorm(FIXP_DBL L_num, FIXP_DBL L_denum, INT *result_e) { in fDivNorm() argument
461 *result_e = 0; in fDivNorm()
468 *result_e = -norm_num + 1; in fDivNorm()
472 *result_e -= -norm_den; in fDivNorm()
527 FIXP_DBL fDivNormSigned(FIXP_DBL L_num, FIXP_DBL L_denum, INT *result_e) { in fDivNormSigned() argument
535 *result_e = 0; in fDivNormSigned()
539 *result_e = 14; in fDivNormSigned()
547 *result_e = -norm_num + 1; in fDivNormSigned()
553 *result_e -= -norm_den; in fDivNormSigned()
566 FIXP_DBL fDivNormHighPrec(FIXP_DBL num, FIXP_DBL denom, INT *result_e) { in fDivNormHighPrec() argument
574 *result_e = 0; in fDivNormHighPrec()
581 *result_e = -norm_num + 1; in fDivNormHighPrec()
585 *result_e -= -norm_den; in fDivNormHighPrec()
593 FIXP_DBL f2Pow(const FIXP_DBL exp_m, const INT exp_e, INT *result_e) { in f2Pow() argument
618 *result_e = int_part + 1; in f2Pow()
640 INT result_e; in f2Pow() local
642 result_m = f2Pow(exp_m, exp_e, &result_e); in f2Pow()
643 result_e = fixMin(DFRACT_BITS - 1, fixMax(-(DFRACT_BITS - 1), result_e)); in f2Pow()
645 return scaleValue(result_m, result_e); in f2Pow()
649 INT *result_e) { in fPow() argument
670 result = f2Pow(ans_lg2, ans_lg2_e, result_e); in fPow()
676 INT *result_e) { in fLdPow() argument
694 result = f2Pow(ans_lg2, ans_lg2_e, result_e); in fLdPow()
701 int result_e; in fLdPow() local
703 result_m = fLdPow(baseLd_m, baseLd_e, exp_m, exp_e, &result_e); in fLdPow()
705 return SATURATE_SHIFT(result_m, -result_e, DFRACT_BITS); in fLdPow()
712 INT result_e = 0; in fPowInt() local
733 result = fDivNorm(FL2FXCONST_DBL(0.5f), result, &result_e); in fPowInt()
734 result_e++; in fPowInt()
738 result_e -= ansScale; in fPowInt()
741 result_e += exp * base_e; in fPowInt()
746 *pResult_e = result_e; in fPowInt()
757 FIXP_DBL CalcLog2(FIXP_DBL base_m, INT base_e, INT *result_e) { in CalcLog2() argument
758 return fLog2(base_m, base_e, result_e); in CalcLog2()