handle infinities etc in _MPMathFunction