Home
last modified time | relevance | path

Searched refs:scale_factor (Results 1 – 1 of 1) sorted by relevance

/libcore/ojluni/src/main/java/sun/misc/
DFpUtils.java562 public static double scalb(double d, int scale_factor) { in scalb() argument
613 if(scale_factor < 0) { in scalb()
614 scale_factor = Math.max(scale_factor, -MAX_SCALE); in scalb()
619 scale_factor = Math.min(scale_factor, MAX_SCALE); in scalb()
626 int t = (scale_factor >> 9-1) >>> 32 - 9; in scalb()
627 exp_adjust = ((scale_factor + t) & (512 -1)) - t; in scalb()
630 scale_factor -= exp_adjust; in scalb()
632 while(scale_factor != 0) { in scalb()
634 scale_factor -= scale_increment; in scalb()
671 public static float scalb(float f, int scale_factor) { in scalb() argument
[all …]