var pos_infinity: i128 = 170141183460469231731687303715884105727
var neg_infinity: i128 = -170141183460469231731687303715884105728
var nan: i128 = 0
Convert stream of
Vec<f32> gets converted into
Vec<i128>, and the resulting vectors are send through stream in continuity.
f32 is truncated to fit into the
i128, and in case floating-point value does
not describe a real number:
pos_infinityis used when
f32is a positive infinity,
neg_infinityis used when
f32is a negative infinity,
nanis used when
f32is not a number.