12 float const temp_celsius = inputs[0] - 273.15;
13 float const relative_humidity = inputs[1];
18 const float d = 234.5;
21 if (temp_celsius < 0.0) {
27 log(relative_humidity *
28 exp((b - (temp_celsius / d)) * (temp_celsius / (c + temp_celsius))));
29 float const dew_point = (c * gamma) / (b - gamma);
31 this->
emit(dew_point + 273.15);