Lines Matching refs:exponent
175 int exponent;
183 /* The exponent byte is just the upper nibble of the Lux High Byte */
184 exponent = (hi >> 4) & 0xf;
187 * The exponent value is base 2 to the power of the raw exponent byte.
189 exponent = 1 << exponent;
191 return exponent * mantissa;
367 int mantissa, exponent;
388 * Exponent is base 2 to the power of the threshold exponent byte
391 exponent = byte & MAX44009_THRESH_EXP_MASK;
392 exponent >>= MAX44009_THRESH_EXP_RSHIFT;
394 return (1 << exponent) * mantissa;