Inlining basic math ops.