Comparator
From TheAnalogThing

The Comparator is a analog-digital logic element which puts different signals on the output, depending on the input. The Analog Thing features two comparators.
Given two inputs A and B, the comparator tests
Fill me in (A? B?) whether the input value is larger or smaller zero. If it is larger, the input >0 is directed to OUT, if smaller, the input <0 is directed to OUT.
Technically, the comparator is implemented with Schmitt Triggers and two analog switches, see File:Anathing_v1.0_base_4.pdf for the schematics.