Lines Matching refs:exponent
68 s16 exponent; in zl6100_l2d() local
72 exponent = l >> 11; in zl6100_l2d()
80 if (exponent >= 0) in zl6100_l2d()
81 val <<= exponent; in zl6100_l2d()
83 val >>= -exponent; in zl6100_l2d()
93 s16 exponent = 0, mantissa; in zl6100_d2l() local
106 while (val >= MAX_MANTISSA && exponent < 15) { in zl6100_d2l()
107 exponent++; in zl6100_d2l()
111 while (val < MIN_MANTISSA && exponent > -15) { in zl6100_d2l()
112 exponent--; in zl6100_d2l()
128 return (mantissa & 0x7ff) | ((exponent << 11) & 0xf800); in zl6100_d2l()