/external/valgrind/main/VEX/priv/ |
D | host_generic_maddf.c | 86 unsigned int exponent:11; member 92 unsigned int exponent:11; 121 if ((u.ieee.mantissa1 & 1) == 0 && u.ieee.exponent != 0x7ff) in h_generic_calc_MAddF32() 144 if (UNLIKELY (u.ieee.exponent + v.ieee.exponent in h_generic_calc_MAddF64() 146 || UNLIKELY (u.ieee.exponent >= 0x7ff - DBL_MANT_DIG) in h_generic_calc_MAddF64() 147 || UNLIKELY (v.ieee.exponent >= 0x7ff - DBL_MANT_DIG) in h_generic_calc_MAddF64() 148 || UNLIKELY (w.ieee.exponent >= 0x7ff - DBL_MANT_DIG) in h_generic_calc_MAddF64() 149 || UNLIKELY (u.ieee.exponent + v.ieee.exponent in h_generic_calc_MAddF64() 153 if (w.ieee.exponent == 0x7ff in h_generic_calc_MAddF64() 154 && u.ieee.exponent != 0x7ff in h_generic_calc_MAddF64() [all …]
|
/external/nanopb-c/examples/using_double_on_avr/ |
D | double_conversion.c | 21 int16_t exponent; in float_to_double() local 26 exponent = ((in.i >> 23) & 0xFF) - 127; in float_to_double() 29 if (exponent == 128) in float_to_double() 32 exponent = 1024; in float_to_double() 34 else if (exponent == -127) in float_to_double() 39 exponent = -1023; in float_to_double() 48 exponent--; in float_to_double() 56 mantissa |= (uint64_t)(exponent + 1023) << 52; in float_to_double() 65 int16_t exponent; in double_to_float() local 71 exponent = ((value >> 52) & 0x7FF) - 1023; in double_to_float() [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_format_r11g11b10f.h | 60 int exponent = ((f32.ui >> 23) & 0xff) - 127; in f32_to_uf11() local 63 if (exponent == 128) { /* Infinity or NaN */ in f32_to_uf11() 88 else if (exponent > -15) { /* Representable value */ in f32_to_uf11() 89 exponent += UF11_EXPONENT_BIAS; in f32_to_uf11() 91 uf11 = exponent << UF11_EXPONENT_SHIFT | mantissa; in f32_to_uf11() 104 int exponent = (val & 0x07c0) >> UF11_EXPONENT_SHIFT; in uf11_to_f32() local 109 if (exponent == 0) { in uf11_to_f32() 115 else if (exponent == 31) { in uf11_to_f32() 120 exponent -= 15; in uf11_to_f32() 121 if (exponent < 0) { in uf11_to_f32() [all …]
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
D | u_format_r11g11b10f.h | 60 int exponent = ((f32.ui >> 23) & 0xff) - 127; in f32_to_uf11() local 63 if (exponent == 128) { /* Infinity or NaN */ in f32_to_uf11() 88 else if (exponent > -15) { /* Representable value */ in f32_to_uf11() 89 exponent += UF11_EXPONENT_BIAS; in f32_to_uf11() 91 uf11 = exponent << UF11_EXPONENT_SHIFT | mantissa; in f32_to_uf11() 104 int exponent = (val & 0x07c0) >> UF11_EXPONENT_SHIFT; in uf11_to_f32() local 109 if (exponent == 0) { in uf11_to_f32() 115 else if (exponent == 31) { in uf11_to_f32() 120 exponent -= 15; in uf11_to_f32() 121 if (exponent < 0) { in uf11_to_f32() [all …]
|
/external/chromium_org/third_party/WebKit/Source/wtf/dtoa/ |
D | strtod.cc | 116 int exponent, in TrimToMaxSignificantDigits() argument 129 exponent + (buffer.length() - kMaxSignificantDecimalDigits); in TrimToMaxSignificantDigits() 169 int exponent = 0; in ReadDiyFp() local 170 *result = DiyFp(significand, exponent); in ReadDiyFp() 177 int exponent, in DoubleStrtod() argument 196 if (exponent < 0 && -exponent < kExactPowersOfTenSize) { in DoubleStrtod() 200 *result /= exact_powers_of_ten[-exponent]; in DoubleStrtod() 203 if (0 <= exponent && exponent < kExactPowersOfTenSize) { in DoubleStrtod() 207 *result *= exact_powers_of_ten[exponent]; in DoubleStrtod() 212 if ((0 <= exponent) && in DoubleStrtod() [all …]
|
D | double-conversion.cc | 82 int exponent, in CreateExponentialRepresentation() argument 91 if (exponent < 0) { in CreateExponentialRepresentation() 93 exponent = -exponent; in CreateExponentialRepresentation() 99 if (exponent == 0) { in CreateExponentialRepresentation() 103 ASSERT(exponent < 1e4); in CreateExponentialRepresentation() 108 while (exponent > 0) { in CreateExponentialRepresentation() 109 buffer[--first_char_pos] = '0' + (exponent % 10); in CreateExponentialRepresentation() 110 exponent /= 10; in CreateExponentialRepresentation() 185 int exponent = decimal_point - 1; in ToShortest() local 186 if ((decimal_in_shortest_low_ <= exponent) && in ToShortest() [all …]
|
D | fixed-dtoa.cc | 234 static void FillFractionals(uint64_t fractionals, int exponent, in FillFractionals() argument 237 ASSERT(-128 <= exponent && exponent <= 0); in FillFractionals() 241 if (-exponent <= 64) { in FillFractionals() 244 int point = -exponent; in FillFractionals() 269 ASSERT(64 < -exponent && -exponent <= 128); in FillFractionals() 271 fractionals128.Shift(-exponent - 64); in FillFractionals() 318 int exponent = Double(v).Exponent(); in FastFixedDtoa() local 324 if (exponent > 20) return false; in FastFixedDtoa() 330 if (exponent + kDoubleSignificandSize > 64) { in FastFixedDtoa() 354 if (exponent > divisor_power) { in FastFixedDtoa() [all …]
|
/external/chromium_org/v8/src/ |
D | strtod.cc | 92 int exponent, in TrimToMaxSignificantDigits() argument 105 exponent + (buffer.length() - kMaxSignificantDecimalDigits); in TrimToMaxSignificantDigits() 146 int exponent = 0; in ReadDiyFp() local 147 *result = DiyFp(significand, exponent); in ReadDiyFp() 154 int exponent, in DoubleStrtod() argument 175 if (exponent < 0 && -exponent < kExactPowersOfTenSize) { in DoubleStrtod() 179 *result /= exact_powers_of_ten[-exponent]; in DoubleStrtod() 182 if (0 <= exponent && exponent < kExactPowersOfTenSize) { in DoubleStrtod() 186 *result *= exact_powers_of_ten[exponent]; in DoubleStrtod() 191 if ((0 <= exponent) && in DoubleStrtod() [all …]
|
D | fixed-dtoa.cc | 212 static void FillFractionals(uint64_t fractionals, int exponent, in FillFractionals() argument 215 ASSERT(-128 <= exponent && exponent <= 0); in FillFractionals() 219 if (-exponent <= 64) { in FillFractionals() 222 int point = -exponent; in FillFractionals() 247 ASSERT(64 < -exponent && -exponent <= 128); in FillFractionals() 249 fractionals128.Shift(-exponent - 64); in FillFractionals() 296 int exponent = Double(v).Exponent(); in FastFixedDtoa() local 302 if (exponent > 20) return false; in FastFixedDtoa() 308 if (exponent + kDoubleSignificandSize > 64) { in FastFixedDtoa() 332 if (exponent > divisor_power) { in FastFixedDtoa() [all …]
|
D | conversions-inl.h | 80 int exponent = d.Exponent(); in DoubleToInt32() local 81 if (exponent < 0) { in DoubleToInt32() 82 if (exponent <= -Double::kSignificandSize) return 0; in DoubleToInt32() 83 return d.Sign() * static_cast<int32_t>(d.Significand() >> -exponent); in DoubleToInt32() 85 if (exponent > 31) return 0; in DoubleToInt32() 86 return d.Sign() * static_cast<int32_t>(d.Significand() << exponent); in DoubleToInt32() 135 int exponent = 0; in InternalStringToIntDouble() local 169 exponent = overflow_bits_count; in InternalStringToIntDouble() 176 exponent += radix_log_2; in InternalStringToIntDouble() 197 exponent++; in InternalStringToIntDouble() [all …]
|
/external/bison/lib/ |
D | printf-frexp.c | 69 int exponent; in FUNC() local 76 x = FREXP (x, &exponent); in FUNC() 79 exponent -= 1; in FUNC() 81 if (exponent < MIN_EXP - 1) in FUNC() 83 x = LDEXP (x, exponent - (MIN_EXP - 1)); in FUNC() 84 exponent = MIN_EXP - 1; in FUNC() 94 exponent = 0; in FUNC() 110 exponent += (1 << i); in FUNC() 135 if (exponent - (1 << i) < MIN_EXP - 1) in FUNC() 138 exponent -= (1 << i); in FUNC() [all …]
|
D | frexp.c | 61 int exponent; in FUNC() local 87 exponent = 0; in FUNC() 102 exponent += (1 << i); in FUNC() 118 exponent += (1 << i); in FUNC() 136 exponent -= (1 << i); in FUNC() 154 exponent -= (1 << i); in FUNC() 166 *expptr = exponent; in FUNC()
|
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
D | floatnum.c | 52 unsigned short exponent; member 79 unsigned short exponent; /* Bias 32767 exponent */ member 150 e->f.exponent = s->exponent; in POT_Table_Init_Entry() 217 flt->exponent = 0; in floatnum_normalize() 224 if (norm_amt > (long)flt->exponent) in floatnum_normalize() 225 norm_amt = (long)flt->exponent; in floatnum_normalize() 227 flt->exponent -= (unsigned short)norm_amt; in floatnum_normalize() 244 acc->exponent = EXP_ZERO; in floatnum_mul() 249 expon = (((int)acc->exponent)-EXP_BIAS) + (((int)op->exponent)-EXP_BIAS); in floatnum_mul() 254 acc->exponent = EXP_INF; in floatnum_mul() [all …]
|
/external/chromium_org/chrome/common/extensions/docs/examples/apps/calculator/app/ |
D | model.js | 119 var exponent = Number(x.toExponential(this.precision - 1).split('e')[1]); 120 var digits = this.digits_(exponent); 122 var fixed = (Math.abs(exponent) < this.precision && exponent > -7); 132 Model.prototype.digits_ = function(exponent) { argument 133 return (isNaN(exponent) || exponent < -199 || exponent > 199) ? 0 : 134 (exponent < -99) ? (this.precision - 1 - 5) : 135 (exponent < -9) ? (this.precision - 1 - 4) : 136 (exponent < -6) ? (this.precision - 1 - 3) : 137 (exponent < 0) ? (this.precision - 1 + exponent) : 138 (exponent < this.precision) ? (this.precision - 1) : [all …]
|
/external/guava/guava/src/com/google/common/math/ |
D | DoubleUtils.java | 80 int exponent = (int) ((bits & EXPONENT_MASK) >> SIGNIFICAND_BITS); in getExponent() local 81 exponent -= EXPONENT_BIAS; in getExponent() 82 return exponent; in getExponent() 90 int exponent = getExponent(d); in scalb() local 91 switch (exponent) { in scalb() 97 int newExponent = exponent + scale; in scalb() 111 int exponent = getExponent(d); in getSignificand() local 114 return (exponent == MIN_DOUBLE_EXPONENT - 1) in getSignificand() 139 int exponent = absX.bitLength() - 1; in bigToDouble() local 141 if (exponent < Long.SIZE - 1) { in bigToDouble() [all …]
|
/external/chromium_org/v8/test/mjsunit/es6/ |
D | math-fround.js | 45 var exponent = this.exponent_bits - 1023; 46 if (exponent == -1023) returnSpecial(); 49 return sign * Math.pow(2, exponent) * mantissa; 54 var exponent = this.exponent_bits - 1023; 55 if (exponent == -1023) returnSpecial(); 56 if (exponent > 127) return sign * Infinity; 57 if (exponent < -126) return this.toSingleSubnormal(sign, exponent); 60 return sign * Math.pow(2, exponent) * mantissa; 63 ieee754float.prototype.toSingleSubnormal = function(sign, exponent) { argument 64 var shift = -126 - exponent;
|
/external/smali/util/src/main/java/org/jf/util/ |
D | NumberUtils.java | 86 int exponent = asFloat.indexOf("E"); in isLikelyFloat() local 88 if (zeros > decimalPoint && zeros < exponent) { in isLikelyFloat() 89 asFloat = asFloat.substring(0, zeros) + asFloat.substring(exponent); in isLikelyFloat() 92 if (nines > decimalPoint && nines < exponent) { in isLikelyFloat() 93 asFloat = asFloat.substring(0, nines) + asFloat.substring(exponent); in isLikelyFloat() 128 int exponent = asDouble.indexOf("E"); in isLikelyDouble() local 130 if (zeros > decimalPoint && zeros < exponent) { in isLikelyDouble() 131 asDouble = asDouble.substring(0, zeros) + asDouble.substring(exponent); in isLikelyDouble() 134 if (nines > decimalPoint && nines < exponent) { in isLikelyDouble() 135 asDouble = asDouble.substring(0, nines) + asDouble.substring(exponent); in isLikelyDouble()
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
D | Decimal.cpp | 241 Decimal::EncodedData::EncodedData(Sign sign, int exponent, uint64_t coefficient) in EncodedData() argument 245 if (exponent >= ExponentMin && exponent <= ExponentMax) { in EncodedData() 248 ++exponent; in EncodedData() 252 if (exponent > ExponentMax) { in EncodedData() 259 if (exponent < ExponentMin) { in EncodedData() 267 m_exponent = static_cast<int16_t>(exponent); in EncodedData() 283 Decimal::Decimal(Sign sign, int exponent, uint64_t coefficient) in Decimal() argument 284 : m_data(sign, exponent, coefficient) in Decimal() 369 return Decimal(Positive, alignedOperands.exponent, 0); in operator +() 372 ? Decimal(lhsSign, alignedOperands.exponent, result) in operator +() [all …]
|
/external/chromium_org/third_party/skia/experimental/Intersection/ |
D | IntersectionUtilities.cpp | 16 int exponent = (int) ((bits >> 52) & 0x7ffL); 21 if (exponent==0) 23 exponent++; 35 exponent -= 1075; 46 exponent++;
|
/external/skia/experimental/Intersection/ |
D | IntersectionUtilities.cpp | 16 int exponent = (int) ((bits >> 52) & 0x7ffL); 21 if (exponent==0) 23 exponent++; 35 exponent -= 1075; 46 exponent++;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/ |
D | RSAKeyParameters.java | 9 private BigInteger exponent; field in RSAKeyParameters 14 BigInteger exponent) in RSAKeyParameters() argument 19 this.exponent = exponent; in RSAKeyParameters() 29 return exponent; in getExponent()
|
/external/compiler-rt/lib/builtins/ |
D | fixsfsi.c | 27 const int exponent = (aAbs >> significandBits) - exponentBias; in ARM_EABI_FNALIAS() local 31 if ((unsigned int)exponent < significandBits) { in ARM_EABI_FNALIAS() 32 return sign * (significand >> (significandBits - exponent)); in ARM_EABI_FNALIAS() 36 else if (exponent < 0) { in ARM_EABI_FNALIAS() 45 return sign * (significand << (exponent - significandBits)); in ARM_EABI_FNALIAS()
|
D | fixdfsi.c | 30 const int exponent = (aAbs >> significandBits) - exponentBias; in ARM_EABI_FNALIAS() local 34 if ((unsigned int)exponent < significandBits) { in ARM_EABI_FNALIAS() 35 return sign * (significand >> (significandBits - exponent)); in ARM_EABI_FNALIAS() 39 else if (exponent < 0) { in ARM_EABI_FNALIAS() 48 return sign * (significand << (exponent - significandBits)); in ARM_EABI_FNALIAS()
|
/external/chromium_org/third_party/icu/source/i18n/ |
D | decNumber.c | 392 if (dn->bits&DECSPECIAL || dn->digits>10 || dn->exponent!=0) ; /* bad */ in uprv_decNumberToInt32() 427 if (dn->bits&DECSPECIAL || dn->digits>10 || dn->exponent!=0 in uprv_decNumberToUInt32() 497 Int exponent=0; /* working exponent [assume 0] */ in uprv_decNumberFromString() local 615 exponent=X10(exponent)+(Int)*c-(Int)'0'; in uprv_decNumberFromString() 624 if (c>firstexp+9+1 || *firstexp>'1') exponent=DECNUMMAXE*2; in uprv_decNumberFromString() 627 if (nege) exponent=-exponent; /* was negative */ in uprv_decNumberFromString() 652 exponent-=(last-dotchar); /* adjust exponent */ in uprv_decNumberFromString() 699 dn->exponent=exponent; in uprv_decNumberFromString() 711 if ((dn->exponent-1<set->emin-dn->digits) in uprv_decNumberFromString() 712 || (dn->exponent-1>set->emax-set->digits)) { in uprv_decNumberFromString() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | decNumber.c | 407 if (dn->bits&DECSPECIAL || dn->digits>10 || dn->exponent!=0) ; /* bad */ in uprv_decNumberToInt32() 442 if (dn->bits&DECSPECIAL || dn->digits>10 || dn->exponent!=0 in uprv_decNumberToUInt32() 512 Int exponent=0; /* working exponent [assume 0] */ in uprv_decNumberFromString() local 630 exponent=X10(exponent)+(Int)*c-(Int)'0'; in uprv_decNumberFromString() 639 if (c>firstexp+9+1 || *firstexp>'1') exponent=DECNUMMAXE*2; in uprv_decNumberFromString() 642 if (nege) exponent=-exponent; /* was negative */ in uprv_decNumberFromString() 667 exponent-=(last-dotchar); /* adjust exponent */ in uprv_decNumberFromString() 714 dn->exponent=exponent; in uprv_decNumberFromString() 726 if ((dn->exponent-1<set->emin-dn->digits) in uprv_decNumberFromString() 727 || (dn->exponent-1>set->emax-set->digits)) { in uprv_decNumberFromString() [all …]
|