Add <cmath> to header for portability.