Sequence StaticAddI32
std/arithmetic/scalar/i32::StaticAddI32
Parameters
↳ var value: i32 = 0
Inputs
⇥ value: Stream<i32>
Outputs
↦ value: Stream<i32>
Add a static value to i32
.
Every number passed through the stream get value
added.
use std/arithmetic/scalar/i32::StaticAddI32
sequence Foo()
input in: Stream<i32>
output out: Stream<i32>
{
StaticAddI32(value=5)
// in is increased by 5 and send to out
Self.in -> StaticAddI32.value,value -> Self.out
}