When a programmer cares for integer overflow one can use Bounded!(T.min, T.max).
See mine extension of Adam's bounded.d:
https://github.com/nordlow/justd/blob/master/bound.d I call it bound.d instead to save to characters :) /Per
When a programmer cares for integer overflow one can use Bounded!(T.min, T.max).
See mine extension of Adam's bounded.d:
https://github.com/nordlow/justd/blob/master/bound.d I call it bound.d instead to save to characters :) /Per