Home | History | Annotate | Download | only in src

Lines Matching defs:mantissa

654   This function calculates a mantissa corresponding to the fractional
667 FIXP_SGL mantissa;
696 mantissa = 0.5f;
698 /* Amplify mantissa according to the fractional part of the
706 multiply mantissa with the corresponding factor: */
707 mantissa = (FIXP_SGL)( (mantissa * pow2[bit]) << 1);
718 This will be compensated by a mantissa of 0.5*sqrt(2) instead of 0.5 if that bit is 1. */
719 mantissa = (exponent & ampShift) ? FL2FXCONST_SGL(0.707106781186548f) : FL2FXCONST_SGL(0.5f);
724 Mantissa was set to 0.5 (instead of 1.0, therefore increase exponent by 1).
730 /* Combine mantissa and exponent and write back the result */
731 h_sbr_data->iEnvelope[i] = (FIXP_SGL)(((LONG)mantissa & MASK_M) | (exponent & MASK_E));
844 /* +1 to compensate for a mantissa of 0.5 instead of 1.0 */
847 (FIXP_SGL)( ((LONG)FL2FXCONST_SGL(0.5f)) + /* mantissa */