Implements functions that the object Math could have.