Treatment checkedPow
std/ops/num::checkedPow
Generics
◻ N:
CheckedPow
Parameters
↳ var exp:
u32
Inputs
⇥ value:
Stream<N>
Outputs
↦ pow:
Stream<Option<N>>
Compute exponent of streamed values, checking if overflow occurs.
This treatment outputs an option containing valᵉˣᵖ
, or none if result cause overflow in data type.