Include cmath explicitly