Home
last modified time | relevance | path

Searched refs:EPSINON (Results 1 - 2 of 2) sorted by relevance

/drivers/peripheral/sensor/test/common/src/
H A Dsensor_callback_impl.cpp70 constexpr float EPSINON = 1e-6; member
76 if (std::abs(*(&data + j) - sensorNode.valueRange[j].highThreshold) < EPSINON || in SensorDataVerification()
77 std::abs(*(&data + j) - sensorNode.valueRange[j].lowThreshold) < EPSINON) { in SensorDataVerification()
/drivers/peripheral/sensor/test/unittest/common/
H A Dhdf_sensor_test.cpp73 constexpr float EPSINON = 1e-6; member
86 if (std::abs(*(&data + j) - sensorNode.valueRange[j].highThreshold) < EPSINON || in SensorDataVerification()
87 std::abs(*(&data + j) - sensorNode.valueRange[j].lowThreshold) < EPSINON) { in SensorDataVerification()

Completed in 2 milliseconds