Lines Matching refs:bExp
160 int16_t& bValue, int8_t& bExp, bool& bSigned) in getSensorAttributes() argument
189 bExp = 0; in getSensorAttributes()
245 double dB = std::pow(10.0, ((-rExp) - bExp)) * in getSensorAttributes()
249 if (!(scaleFloatExp(dB, bExp))) in getSensorAttributes()
252 << (int)bExp << ") exceeds multiplier scale (M=" << dM in getSensorAttributes()
259 normalizeIntExp(bValue, bExp, dB); in getSensorAttributes()
267 const int16_t bValue, const int8_t bExp, const bool bSigned) in scaleIPMIValueFromDouble() argument
284 (std::pow(10.0, -rExp) * (value - (dB * std::pow(10.0, rExp + bExp)))) / in scaleIPMIValueFromDouble()
319 int8_t bExp = 0; in getScaledIPMIValue() local
323 getSensorAttributes(max, min, mValue, rExp, bValue, bExp, bSigned); in getScaledIPMIValue()
329 return scaleIPMIValueFromDouble(value, mValue, rExp, bValue, bExp, bSigned); in getScaledIPMIValue()