widened

fun Range<Double>.widened(lowerWideningValue: Double, upperWideningValue: Double): Range<Double>

Widens the lower bound of the Range by lowerWideningValue and the upper bound of the Range by upperWideningValue.

Return

widened Range

Parameters

lowerWideningValue

the value for widening the lower bound

upperWideningValue

the value for widening the upper bound


fun Range<Double>.widened(wideningValue: Double): Range<Double>

Widens the Range by wideningValue on the lower and upper bound.

Return

widened Range

Parameters

wideningValue

value for widening the lower and upper bound