Home
last modified time | relevance | path

Searched refs:mDouble (Results 1 – 1 of 1) sorted by relevance

/openbmc/fb-ipmi-oem/include/
H A Dsensorutils.hpp173 double mDouble; in getSensorAttributes() local
182 mDouble = (max - min) / 0xFF; in getSensorAttributes()
198 while (mDouble > maxInt10) in getSensorAttributes()
207 mDouble /= 10; in getSensorAttributes()
212 while (((mDouble - floor(mDouble)) / mDouble) > (1.0 / 255)) in getSensorAttributes()
224 if (mDouble < 1.0) in getSensorAttributes()
234 else if (mDouble * 10 > maxInt10) in getSensorAttributes()
238 mDouble *= 10; in getSensorAttributes()
271 mValue = static_cast<int16_t>(mDouble) & maxInt10; in getSensorAttributes()