Searched refs:mantissa (Results 1 – 4 of 4) sorted by relevance
77 int mantissa = val & MANTISSA_MASK; in convertFloat16ToFloat() local80 float mantissaAsFloat = Math.scalb(mantissa, -10); in convertFloat16ToFloat()110 private static double constructDouble(long mantissa, long exponent, boolean isNegative) { in constructDouble() argument112 long bits = (exponent & DOUBLE_EXPONENT_MASK) | (mantissa & DOUBLE_MANTISSA_MASK); in constructDouble()128 long mantissa = valueBits & DOUBLE_MANTISSA_MASK; // 52-bit mantissa in roundToFloat16() local141 if (unbiasedExponent == -1023 && mantissa == 0) { in roundToFloat16()182 long lowFloat16Mantissa = mantissa & ~mask; in roundToFloat16()183 long highFloat16Mantissa = mantissa & ~mask; in roundToFloat16()188 if ((mantissa & mask) != 0) { in roundToFloat16()231 long mantissa = valueBits & DOUBLE_MANTISSA_MASK; // 52-bit mantissa in float16Ulp() local[all …]
79 double mantissa = r.nextDouble(); in genRandomDoubles() local82 double rand = sign * mantissa * Math.pow(2.0, exponent); in genRandomDoubles()130 float mantissa = r.nextFloat(); in genRandomFloats() local133 float rand = sign * mantissa * (float) Math.pow(2.0, exponent); in genRandomFloats()
57 double mantissa = r.nextDouble(); in genRandomDoubles() local60 double rand = sign * mantissa * Math.pow(2.0, exponent); in genRandomDoubles()108 float mantissa = r.nextFloat(); in genRandomFloats() local111 float rand = sign * mantissa * (float) Math.pow(2.0, exponent); in genRandomFloats()
70813 private long mantissa