1 2 3 4 5 6 7
int main() { double zero = 0; double three = 3.0; double x = three / zero; std::cout << (x == std::numeric_limits<double>::infinity()) << std::endl; }
1
true