java.lang.Math.expm1(double x)


java.lang.Math.expm1(double x)

package com.codingdict;



import java.lang.*;



public class MathDemo {



   public static void main(String[] args) {



      // get two double numbers

      double x = 5;

      double y = 0.5;



      // call expm1 for both numbers and print the result

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

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

   }

}