Add a function to the math module.