java.lang.Math.scalb(double d,int scaleFactor)


java.lang.Math.scalb(double d,int scaleFactor)

package com.codingdict;



import java.lang.*;



public class MathDemo {



   public static void main(String[] args) {



      // get a x to be raised

      double x = 50.14;

      int y = 4;



      // calculate x multiplied by 2 raised in y

      System.out.println("Math.scalb(" + x + "," + y + ")=" + Math.scalb(x, y));

   }

}