Java tutorial
public class Main { public static void main(String[] args) { double d1 = 1.2, d2 = 3.4, d3 = 0.0; int power = 2; System.out.println(StrictMath.scalb(d1, power)); System.out.println(StrictMath.scalb(d2, power)); System.out.println(StrictMath.scalb(d3, power)); } }