Online Java Compiler By
JavaTpoint.com
public class IEEEremainderExample5 { public static void main(String[] args) { double a = 0.0/0; double b = 36; // First argument is NaN, Output NaN System.out.println(Math.IEEEremainder(a, b)); } }
Output