Include cmath, erroneously removed in 3a9a137f