Skip to main content

pamoja_weather_dew_point

Function pamoja_weather_dew_point 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pamoja_weather_dew_point( celsius: f64, humidity_percent: f64, ) -> f64
Expand description

Computes the dew point from the air temperature and relative humidity.

§Arguments

  • celsius - the air temperature, in degrees Celsius.
  • humidity_percent - the relative humidity, in percent; one at or below 0 is taken as a tiny positive value.

§Returns

The dew point, in degrees Celsius.