A comparator circuit in an analog computational device includes a complement circuit that receives a first analog input. The complement circuit outputs a quantized complement of the first input to first and second addition circuits. A second analog input is also provided to the first and second addition circuits. The first and second addition circuits add the complement circuit output to the second analog input and provide a low output if the result of the addition exceeds threshold values set for the first and second addition circuits. The outputs of the first and second addition circuits are provided to a judging circuit to determine which is greater.