Treatment div
std/ops/num::div
Generics
◻ N: Div
Inputs
⇥ a: Stream<N>
⇥ b: Stream<N>
Outputs
↦ quot: Stream<N>
Divide values from two streams.
Values passed through a are divided by b and send in quot.
This treatment is infaillible but may overflow if a ÷ b is out of bounds for the data type.
⚠️ For integers, this treatment outputs 0 for divisions by 0.
ℹ️ For floating types, this treatment return infinity for divisions by 0.