If in is ≥ lo and ≤ hi output 1.0, otherwise output 0.0. Output is initially zero.
in
lo
hi
Signal to be tested.
Low threshold.
High threshold.