Treatment saturatingToI128

std/conv::saturatingToI128


Generics

◻ T: SaturatingToI128

Inputs

⇥ value: Stream<T>

Outputs

↦ into: Stream<i128>


Turns stream into i128 one, saturating if needed.

This treatment manages saturating and infaillible conversion to i128. If incoming data represents something out of bounds for i128, then the resulting value is set to minimum or maximum, depending what is the closest to truth.