Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/sun/misc/
DFpUtils.java28 import sun.misc.FloatConsts;
160 return ((Float.floatToRawIntBits(f) & FloatConsts.EXP_BIT_MASK) >> in getExponent()
161 (FloatConsts.SIGNIFICAND_WIDTH - 1)) - FloatConsts.EXP_BIAS; in getExponent()
178 assert(n >= FloatConsts.MIN_EXPONENT && n <= FloatConsts.MAX_EXPONENT); in powerOfTwoF()
179 return Float.intBitsToFloat(((n + FloatConsts.EXP_BIAS) << in powerOfTwoF()
180 (FloatConsts.SIGNIFICAND_WIDTH-1)) in powerOfTwoF()
181 & FloatConsts.EXP_BIT_MASK); in powerOfTwoF()
224 (FloatConsts.SIGN_BIT_MASK)) | in rawCopySign()
226 (FloatConsts.EXP_BIT_MASK | in rawCopySign()
227 FloatConsts.SIGNIF_BIT_MASK))); in rawCopySign()
[all …]
DFloatConsts.java35 public class FloatConsts { class
39 private FloatConsts() {} in FloatConsts() method in FloatConsts
DFormattedFloatingDecimal.java30 import sun.misc.FloatConsts;
/libcore/ojluni/src/main/java/java/lang/
DFloat.java30 import sun.misc.FloatConsts;
284 if (Math.abs(f) < FloatConsts.MIN_NORMAL in toHexString()
292 FloatConsts.MIN_EXPONENT)); in toHexString()
497 return Math.abs(f) <= FloatConsts.MAX_VALUE; in isFinite()
749 if ( ((result & FloatConsts.EXP_BIT_MASK) == in floatToIntBits()
750 FloatConsts.EXP_BIT_MASK) && in floatToIntBits()
751 (result & FloatConsts.SIGNIF_BIT_MASK) != 0) in floatToIntBits()
DMath.java29 import sun.misc.FloatConsts;
615 int biasedExp = (intBits & FloatConsts.EXP_BIT_MASK) in round()
616 >> (FloatConsts.SIGNIFICAND_WIDTH - 1); in round()
617 int shift = (FloatConsts.SIGNIFICAND_WIDTH - 2 in round()
618 + FloatConsts.EXP_BIAS) - biasedExp; in round()
621 int r = ((intBits & FloatConsts.SIGNIF_BIT_MASK) in round()
622 | (FloatConsts.SIGNIF_BIT_MASK + 1)); in round()
DFloatingDecimal.java31 import sun.misc.FloatConsts;
2392 if ((exponent >= FloatConsts.MIN_SUB_EXPONENT-1) &&
2393 (exponent <= FloatConsts.MAX_EXPONENT ) ){
/libcore/
Dopenjdk_java_files.mk1073 ojluni/src/main/java/sun/misc/FloatConsts.java \