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.hpp174 double mDouble; in getSensorAttributes() local
183 mDouble = (max - min) / 0xFF; in getSensorAttributes()
199 while (mDouble > maxInt10) in getSensorAttributes()
208 mDouble /= 10; in getSensorAttributes()
213 while (((mDouble - floor(mDouble)) / mDouble) > (1.0 / 255)) in getSensorAttributes()
225 if (mDouble < 1.0) in getSensorAttributes()
235 else if (mDouble * 10 > maxInt10) in getSensorAttributes()
239 mDouble *= 10; in getSensorAttributes()
272 mValue = static_cast<int16_t>(mDouble) & maxInt10; in getSensorAttributes()