Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/lang/
DMath.java32 import sun.misc.FloatConsts;
677 int biasedExp = (intBits & FloatConsts.EXP_BIT_MASK) in round()
678 >> (FloatConsts.SIGNIFICAND_WIDTH - 1); in round()
679 int shift = (FloatConsts.SIGNIFICAND_WIDTH - 2 in round()
680 + FloatConsts.EXP_BIAS) - biasedExp; in round()
683 int r = ((intBits & FloatConsts.SIGNIF_BIT_MASK) in round()
684 | (FloatConsts.SIGNIF_BIT_MASK + 1)); in round()
1647 case FloatConsts.MAX_EXPONENT+1: // NaN or infinity in ulp()
1650 case FloatConsts.MIN_EXPONENT-1: // zero or subnormal in ulp()
1651 return FloatConsts.MIN_VALUE; in ulp()
[all …]
DFloat.java29 import sun.misc.FloatConsts;
284 if (Math.abs(f) < FloatConsts.MIN_NORMAL in toHexString()
292 FloatConsts.MIN_EXPONENT)); in toHexString()
490 return Math.abs(f) <= FloatConsts.MAX_VALUE; in isFinite()
747 if ( ((result & FloatConsts.EXP_BIT_MASK) == in floatToIntBits()
748 FloatConsts.EXP_BIT_MASK) && in floatToIntBits()
749 (result & FloatConsts.SIGNIF_BIT_MASK) != 0) in floatToIntBits()
/libcore/ojluni/src/main/java/sun/misc/
DFpUtils.java28 import sun.misc.FloatConsts;
415 case FloatConsts.MAX_EXPONENT+1: // NaN or infinity in ilogb()
421 case FloatConsts.MIN_EXPONENT-1: // zero or subnormal in ilogb()
437 transducer &= FloatConsts.SIGNIF_BIT_MASK; in ilogb()
445 (1 << (FloatConsts.SIGNIFICAND_WIDTH - 1))) { in ilogb()
451 FloatConsts.MIN_EXPONENT - (FloatConsts.SIGNIFICAND_WIDTH-1) && in ilogb()
452 exponent < FloatConsts.MIN_EXPONENT); in ilogb()
457 assert( exponent >= FloatConsts.MIN_EXPONENT && in ilogb()
458 exponent <= FloatConsts.MAX_EXPONENT); in ilogb()
DFloatConsts.java35 public class FloatConsts { class
39 private FloatConsts() {} in FloatConsts() method in FloatConsts
/libcore/ojluni/src/main/java/java/math/
DBigInteger.java41 import sun.misc.FloatConsts;
4191 int shift = exponent - FloatConsts.SIGNIFICAND_WIDTH;
4210 signifFloor &= FloatConsts.SIGNIF_BIT_MASK; // remove the implied bit
4222 int bits = ((exponent + FloatConsts.EXP_BIAS))
4223 << (FloatConsts.SIGNIFICAND_WIDTH - 1);
4232 bits |= signum & FloatConsts.SIGN_BIT_MASK;
/libcore/
Dopenjdk_java_files.bp1468 "ojluni/src/main/java/sun/misc/FloatConsts.java",