Treatment euclidDiv
std/ops/num::euclidDiv
Generics
◻ N:
Euclid
Inputs
⇥ a:
Stream<N>
⇥ b:
Stream<N>
Outputs
↦ quot:
Stream<N>
Proceed to euclidian division 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
.