A suite of useful math functions for mips.