#include <iostream>#include <cmath> using namespace std; int main() { cout << std::isnan(42.0) << std::isinf(42.0);}
Standard input is empty
00
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!