weather: use expf if --enable_math is given, otherwise use fast 3rd order approximation