Why is there such a strong preference for 45 degree angles in PCB routing?
That's it !
"Comparators are used to differentiate between two different signal levels. For example, a comparator may differentiate between an over temperature and normal temperature condition. Noise or signal variation at the comparison threshold will cause multiple transitions. Hysteresis sets an upper and lower threshold to eliminate the multiple transitions caused by noise."
Source:
Comparator with Hysteresis Reference Design - Texas Instruments