Lines Matching refs:rExp
152 int8_t& rExp, int16_t& bValue, int8_t& bExp, in getSensorAttributes() argument
181 rExp = 0; in getSensorAttributes()
212 if (!(scaleFloatExp(dM, rExp))) in getSensorAttributes()
217 "DM", dM, "REXP", rExp); in getSensorAttributes()
223 normalizeIntExp(mValue, rExp, dM); in getSensorAttributes()
240 double dB = std::pow(10.0, ((-rExp) - bExp)) * in getSensorAttributes()
241 (min - ((dM * std::pow(10.0, rExp) * lowestX))); in getSensorAttributes()
249 "DB", dB, "BEXP", bExp, "DM", dM, "REXP", rExp); in getSensorAttributes()
262 const int8_t rExp, const int16_t bValue, in scaleIPMIValueFromDouble() argument
280 (std::pow(10.0, -rExp) * (value - (dB * std::pow(10.0, rExp + bExp)))) / in scaleIPMIValueFromDouble()
313 int8_t rExp = 0; in getScaledIPMIValue() local
319 getSensorAttributes(max, min, mValue, rExp, bValue, bExp, bSigned); in getScaledIPMIValue()
325 return scaleIPMIValueFromDouble(value, mValue, rExp, bValue, bExp, bSigned); in getScaledIPMIValue()