Searched refs:mant (Results 1 – 4 of 4) sorted by relevance
162 var mant;195 mant = Math.round(value / Math.pow(2, -149));197 jspb.utils.split64Low = ((sign << 31) | mant) >>> 0;202 mant = value * Math.pow(2, -exp);203 mant = Math.round(mant * jspb.BinaryConstants.TWO_TO_23) & 0x7FFFFF;206 jspb.utils.split64Low = ((sign << 31) | ((exp + 127) << 23) | mant) >>> 0;250 var mant = value / Math.pow(2, -1074);251 var mantHigh = (mant / jspb.BinaryConstants.TWO_TO_32);253 jspb.utils.split64Low = (mant >>> 0);259 var mant = value * Math.pow(2, -exp);[all …]
238 int32_t mant = ix & 0x0f; in DecodeALaw() local241 mant += 16; in DecodeALaw()244 mant = (mant << 4) + 8; in DecodeALaw()247 mant = mant << (iexp - 1); in DecodeALaw()250 *out++ = (x > 127) ? mant : -mant; in DecodeALaw()
347 int32_t mant = ix & 0x0f; in DecodeALaw() local350 mant += 16; in DecodeALaw()353 mant = (mant << 4) + 8; in DecodeALaw()356 mant = mant << (iexp - 1); in DecodeALaw()359 *out++ = (x > 127) ? mant : -mant; in DecodeALaw()
47 Word16 mant /* i: value to be converted */ in ilog2() argument53 if (mant <= 0) in ilog2()55 mant = 1; in ilog2()57 ex = norm_s(mant); in ilog2()58 mant = mant << ex; in ilog2()61 mant = vo_mult(mant, mant); in ilog2()62 l_temp = vo_L_mult(mant, mant); in ilog2()65 mant = extract_h(l_temp << ex2); in ilog2()69 res = vo_sub(add1(res, 127), (mant >> 8)); in ilog2()