Rescaled math functions