public static Stream<BigDecimal> rangeClosed(double startInclusive, double endInclusive, double step, MathContext mathContext) {
    	return rangeClosed(BigDecimal.valueOf(startInclusive), BigDecimal.valueOf(endInclusive), BigDecimal.valueOf(step), mathContext);
    }
public static Stream < BigDecimal > rangeClosed ( double startInclusive , double endInclusive , double step , MathContext mathContext ) { return rangeClosed ( BigDecimal . valueOf ( startInclusive ) , BigDecimal . valueOf ( endInclusive ) , BigDecimal . valueOf ( step ) , mathContext ) ; }
Returns a sequential ordered {@code Stream<BigDecimal>} from {@code startInclusive}
(inclusive) to {@code endInclusive} (inclusive) by an incremental {@code step}.

<p>The {@code double} arguments are converted using {@link BigDecimal#valueOf(double)}.</p>

@param startInclusive the (inclusive) initial value
@param endInclusive the inclusive upper bound
@param step the step between elements
@param mathContext the {@link MathContext} used for all mathematical operations
@return a sequential {@code Stream<BigDecimal>}
@see #rangeClosed(BigDecimal, BigDecimal, BigDecimal, MathContext)