Online Java Compiler By
JavaTpoint.com
public class IEEEremainderExample6 { public static void main(String[] args) { double a = 27.13; double b = 1.0/0; // Second argument is infinity, Output first argument System.out.println(Math.IEEEremainder(a, b)); } }
Output