Widen types of mathematical functions from Double to Numeric.