extract math ops