public class FloastPointDemo {
public static void main (String[] args) {
// Returns 12.0 x (2^3)
double scalbResult = Math.scalb (12.0, 3);
System.out.println ("Math.scalb (12.0, 3) = " + scalbResult);
}
}
Math.scalb (12.0, 3) = 96.0