Use <cmath> in favor of <math.h> everywhere.