java.lang.Math.log1p(double x)


java.lang.Math.log1p(double x)

package com.codingdict;



import java.lang.*;



public class MathDemo {



   public static void main(String[] args) {



      // get two double numbers

      double x = 60984.1;

      double y = 1000;



      // call log1p and print the result

      System.out.println("Math.log1p(" + x + ")=" + Math.log1p(x));



      // call log1p and print the result

      System.out.println("Math.log1p(" + y + ")=" + Math.log1p(y));

   }

}