Treatment mul
std/ops/num::mul
Generics
◻ N:
Mul
Inputs
⇥ a:
Stream<N>
⇥ b:
Stream<N>
Outputs
↦ prod:
Stream<N>
Multiply values from two streams.
Values passed through a
& b
are multiplied and send in prod
.
This treatment is infaillible but output may overflow if a × b
is out of bounds for the data type.