Treatment abs

std/ops/num::abs


Generics

◻ N: Signed

Inputs

⇥ value: Stream<N>

Outputs

↦ abs: Stream<Option<N>>


Give the absolute values of a stream.

If the absolute value cannot fit into the type itself (such as i8 -128 that cannot be turned into 128), none value is returned.