1
0
Fork 0

disambiguate pow usage

This commit is contained in:
fredb 2009-06-06 16:11:57 +00:00 committed by Tim Moore
parent 4b2d677220
commit 40ad35acf7

View file

@ -722,7 +722,7 @@ FGEnvironment::_recalc_relative_humidity ()
*/
double a = (7.5 * dewpoint_degc) / ( 237.7 + dewpoint_degc);
double b = (7.5 * temperature_degc) / ( 237.7 + temperature_degc);
relative_humidity = 100 * pow(10,a-b);
relative_humidity = 100 * pow(10.0,a-b);
}
bool