math/...: Make a number of functions be const-correct.