Online Java Compiler By
JavaTpoint.com
public class Log1pExample1 { public static void main(String[] args) { double x = -0.0; // Input negative zero, Output negative zero System.out.println(Math.log1p(x)); } }
Output