Online Java Compiler By
JavaTpoint.com
public class IEEEremainderExample2 { public static void main(String[] args) { double a = -45.0; double b = 5.0; // Sign of a is negative, Output is negative zero System.out.println(Math.IEEEremainder(a, b)); } }
Output