Searched refs:convertFromLinear (Results 1 – 3 of 3) sorted by relevance
154 EXPECT_DOUBLE_EQ(pmbus_utils::convertFromLinear(value), 0.0077972412109375); in TEST()159 EXPECT_DOUBLE_EQ(pmbus_utils::convertFromLinear(value), 65536); in TEST()164 EXPECT_DOUBLE_EQ(pmbus_utils::convertFromLinear(value), -2048); in TEST()169 EXPECT_DOUBLE_EQ(pmbus_utils::convertFromLinear(value), 0.49951171875); in TEST()174 EXPECT_DOUBLE_EQ(pmbus_utils::convertFromLinear(value), 1); in TEST()179 EXPECT_DOUBLE_EQ(pmbus_utils::convertFromLinear(value), 4); in TEST()184 EXPECT_DOUBLE_EQ(pmbus_utils::convertFromLinear(value), 7.5); in TEST()189 EXPECT_DOUBLE_EQ(pmbus_utils::convertFromLinear(value), 0); in TEST()194 EXPECT_DOUBLE_EQ(pmbus_utils::convertFromLinear(value), -16); in TEST()
139 inline double convertFromLinear(uint16_t value) in convertFromLinear() function
48 sensorValue = pmbus_utils::convertFromLinear(value); in execute()