Java tutorial
public class Main { public static void main(String[] args) { Double double1 = new Double(0.0 / 0.0); System.out.println(Double.isNaN(double1)); } }