Lines Matching refs:x_e
249 inline FIXP_DBL sqrtFixp_lookup(FIXP_DBL x, INT *x_e) {
260 e = *x_e - e + 2;
274 *x_e = e >> 1;
770 * \brief calculate logarithm of base 2 of x_m * 2^(x_e)
772 * \param x_e exponent of the input value.
776 FDK_INLINE FIXP_DBL fLog2(FIXP_DBL x_m, INT x_e, INT *result_e) {
789 /* Move input value x_m * 2^x_e toward 1.0, where the taylor approximation
796 x_e = x_e - b_norm;
818 /* Add exponent part. log2(x_m * 2^x_e) = log2(x_m) + x_e */
819 if (x_e != 0) {
822 enorm = DFRACT_BITS - fNorm((FIXP_DBL)x_e);
826 ((FIXP_DBL)x_e << (DFRACT_BITS - 1 - enorm));
840 * \brief calculate logarithm of base 2 of x_m * 2^(x_e)
842 * \param x_e exponent of the input value.
845 FDK_INLINE FIXP_DBL fLog2(FIXP_DBL x_m, INT x_e) {
850 x_m = fLog2(x_m, x_e, &result_e);