nextToward

Returns the next value after or before x, toward y.

alias nextToward = nextAfter

Throws

InvalidOperationExceptioneither x or y is signaling NaN
OverflowExceptionresult is ±∞
UnderflowExceptionresult is subnormal or ±0.0
InexactExceptionresult is ±∞, subnormal or ±0.0

Special values

xynextAfter(x, y)
NaNanyNaN
anyNaNNaN
x = yx
x < ynextUp(x)
x > ynextDown(x)

Meta