Some combination of our atan2 implementation and the builtin clz causes recent gcc to die with an internal compiler error (https://gcc.gnu.org/ml/gcc-bugs/2017-08/msg01578.html).