Home | History | Annotate | Download | only in src

Lines Matching refs:frac_part

636   FIXP_DBL frac_part, result_m;
643 frac_part = exp_m - (FIXP_DBL)(int_part << exp_bits);
644 frac_part = frac_part << exp_e;
649 frac_part = exp_m >> -exp_e;
653 if( frac_part > FL2FXCONST_DBL(0.5f) )
656 frac_part = frac_part + FL2FXCONST_DBL(-1.0f);
658 if( frac_part < FL2FXCONST_DBL(-0.5f) )
661 frac_part = -(FL2FXCONST_DBL(-1.0f) - frac_part);
668 /* result_m ~= 2^frac_part */
669 p = frac_part;
675 p = fMult(p, frac_part);