Searched refs:NANO_ABS (Results 1 – 3 of 3) sorted by relevance
738 if (NANO_ABS(over_temp_cal->last_temp_check_celsius - temperature_celsius) > in overTempCalSetTemperature()903 if (NANO_ABS(test_offset - compensated_offset[index]) >= in compareAndCompensateWithNearest()982 NANO_ABS(temperature_celsius - in updateCalOffset()1060 if (NANO_ABS(over_temp_cal->compensated_offset.offset[i] - in setCompensatedOffset()1187 dtemp_new = NANO_ABS(over_temp_cal->model_data[i].offset_temp_celsius - in findNearestEstimate()1383 const float outlier_test = NANO_ABS( in outlierCheck()1428 return NANO_ABS(temp_sensitivity) < over_temp_cal->temp_sensitivity_limit && in isValidOtcLinearModel()1429 NANO_ABS(sensor_intercept) < over_temp_cal->sensor_intercept_limit && in isValidOtcLinearModel()1430 (NANO_ABS(temp_sensitivity) > OTC_MODELDATA_NEAR_ZERO_TOL || in isValidOtcLinearModel()1431 NANO_ABS(sensor_intercept) > OTC_MODELDATA_NEAR_ZERO_TOL); in isValidOtcLinearModel()[all …]
124 float max = NANO_ABS(v[0]); in vecMaxAbsoluteValue()128 tmp = NANO_ABS(v[i]); in vecMaxAbsoluteValue()
29 #define NANO_ABS(x) ((x) > 0 ? (x) : -(x)) macro