Treatment wrappingSub
std/ops/num::wrappingSub
Generics
◻ N:
WrappingSub
Inputs
⇥ a:
Stream<N>
⇥ b:
Stream<N>
Outputs
↦ diff:
Stream<N>
Substract values from two streams, wrapping on bounds.
Values passed through b
are substracted to a
and send in diff
.
This treatment is infaillible and wrap if a - b
reach boundary of the data type.