Two Sigma interview question

How to compare two doubles in C++?