Searched defs:scalb (Results 1 - 4 of 4) sorted by relevance

/openjdk7/jdk/src/share/native/java/lang/fdlibm/src/
H A Dw_scalb.c28 * wrapper scalb(double x, double fn) is provide for
39 double scalb(double x, int fn) /* wrapper scalb */ function
41 double scalb(double x, double fn) /* wrapper scalb */
44 double scalb(x,fn) /* wrapper scalb */
59 return __kernel_standard(x,(double)fn,32); /* scalb overflow */
62 return __kernel_standard(x,(double)fn,33); /* scalb underflow */
/openjdk7/jdk/src/share/classes/sun/misc/
H A DFpUtils.java128 // Constants used in scalb
358 * <i>x</i>, <code>scalb(<i>x</i>, -ilogb(<i>x</i>))</code> is
428 * <i>x</i>, <code>scalb(<i>x</i>, -ilogb(<i>x</i>))</code> is
496 * The scalb operation should be reasonably fast; however, there
503 * subnormal execution, scalb would be fastest if written entirely
504 * with integer operations; in other words, scalb would need to
525 * more efficient to provide a double[] scalb(double[], int)
526 * version of scalb to avoid having to recompute the needed
542 * subnormal, precision may be lost; that is, when {@code scalb(x,
543 * n)} is subnormal, {@code scalb(scal
562 public static double scalb(double d, int scale_factor) { method in class:FpUtils
671 public static float scalb(float f, int scale_factor) { method in class:FpUtils
[all...]
/openjdk7/jdk/src/share/classes/java/lang/
H A DMath.java1470 * precision may be lost; that is, when {@code scalb(x, n)}
1471 * is subnormal, {@code scalb(scalb(x, n), -n)} may not equal
1489 public static double scalb(double d, int scaleFactor) { method in class:Math
1490 return sun.misc.FpUtils.scalb(d, scaleFactor);
1504 * precision may be lost; that is, when {@code scalb(x, n)}
1505 * is subnormal, {@code scalb(scalb(x, n), -n)} may not equal
1523 public static float scalb(float f, int scaleFactor) { method in class:Math
1524 return sun.misc.FpUtils.scalb(
[all...]
H A DStrictMath.java1412 * precision may be lost; that is, when {@code scalb(x, n)}
1413 * is subnormal, {@code scalb(scalb(x, n), -n)} may not equal
1431 public static double scalb(double d, int scaleFactor) { method in class:StrictMath
1432 return sun.misc.FpUtils.scalb(d, scaleFactor);
1446 * precision may be lost; that is, when {@code scalb(x, n)}
1447 * is subnormal, {@code scalb(scalb(x, n), -n)} may not equal
1465 public static float scalb(float f, int scaleFactor) { method in class:StrictMath
1466 return sun.misc.FpUtils.scalb(
[all...]

Completed in 4345 milliseconds