How to Compare Float and Double Values Safely in C++ | CodeTrail