public class Main { public static void main(String[] args) { System.out.println(0.0/0.0); } }
Standard input is empty
NaN
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!