/external/nanopb-c/examples/using_double_on_avr/ |
H A D | double_conversion.c | 21 int16_t exponent; local 26 exponent = ((in.i >> 23) & 0xFF) - 127; 29 if (exponent == 128) 32 exponent = 1024; 34 else if (exponent == -127) 39 exponent = -1023; 48 exponent--; 56 mantissa |= (uint64_t)(exponent + 1023) << 52; 65 int16_t exponent; local 71 exponent [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/ |
H A D | RSAKeyParameters.java | 11 private BigInteger exponent; field in class:RSAKeyParameters 16 BigInteger exponent) 22 if ((exponent.intValue() & 1) == 0) 29 this.exponent = exponent; 61 return exponent; 13 RSAKeyParameters( boolean isPrivate, BigInteger modulus, BigInteger exponent) argument
|
/external/v8/src/ |
H A D | strtod.h | 15 double Strtod(Vector<const char> buffer, int exponent);
|
H A D | strtod.cc | 93 int exponent, 106 exponent + (buffer.length() - kMaxSignificantDecimalDigits); 146 // Compute the binary exponent. 147 int exponent = 0; local 148 *result = DiyFp(significand, exponent); 155 int exponent, 171 // If the 10^exponent (resp. 10^-exponent) fits into a double too then we 176 if (exponent < 0 && -exponent < kExactPowersOfTenSiz 92 TrimToMaxSignificantDigits(Vector<const char> buffer, int exponent, char* significant_buffer, int* significant_exponent) argument 154 DoubleStrtod(Vector<const char> trimmed, int exponent, double* result) argument 210 AdjustmentPowerOfTen(int exponent) argument [all...] |
/external/crcalc/src/com/hp/creals/ |
H A D | StringFloatRep.java | 45 exponent = e; 57 * The radix of the representation. Also the base of the exponent field. 61 * The mantissa is scaled by radix**exponent. 63 public int exponent; field in class:StringFloatRep 66 * Produce a textual representation including the sign and exponent. 70 (sign < 0? "-" : "") + mantissa + "E" + Integer.toString(exponent)
|
/external/valgrind/VEX/priv/ |
H A D | host_generic_maddf.c | 86 unsigned int exponent:11; member in struct:vg_ieee754_double::__anon22301 92 unsigned int exponent:11; 121 if ((u.ieee.mantissa1 & 1) == 0 && u.ieee.exponent != 0x7ff) 144 if (UNLIKELY (u.ieee.exponent + v.ieee.exponent 146 || UNLIKELY (u.ieee.exponent >= 0x7ff - DBL_MANT_DIG) 147 || UNLIKELY (v.ieee.exponent >= 0x7ff - DBL_MANT_DIG) 148 || UNLIKELY (w.ieee.exponent >= 0x7ff - DBL_MANT_DIG) 149 || UNLIKELY (u.ieee.exponent + v.ieee.exponent [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_format_r11g11b10f.h | 59 /* Map exponent to the range [-127,128] */ 60 int exponent = ((f32.ui >> 23) & 0xff) - 127; local 63 if (exponent == 128) { /* Infinity or NaN */ 88 else if (exponent > -15) { /* Representable value */ 89 exponent += UF11_EXPONENT_BIAS; 91 uf11 = exponent << UF11_EXPONENT_SHIFT | mantissa; 104 int exponent = (val & 0x07c0) >> UF11_EXPONENT_SHIFT; local 109 if (exponent == 0) { 115 else if (exponent == 31) { 120 exponent 146 int exponent = ((f32.ui >> 23) & 0xff) - 127; local 190 int exponent = (val & 0x03e0) >> UF10_EXPONENT_SHIFT; local [all...] |
/external/compiler-rt/lib/builtins/ |
H A D | floatunditf.c | 28 const int exponent = (aWidth - 1) - __builtin_clzll(a); local 32 const int shift = significandBits - exponent; 35 // Insert the exponent 36 result += (rep_t)(exponent + exponentBias) << significandBits;
|
H A D | floatunsidf.c | 32 const int exponent = (aWidth - 1) - __builtin_clz(a); local 36 const int shift = significandBits - exponent; 39 // Insert the exponent 40 result += (rep_t)(exponent + exponentBias) << significandBits;
|
H A D | floatunsitf.c | 28 const int exponent = (aWidth - 1) - __builtin_clz(a); local 32 const int shift = significandBits - exponent; 35 // Insert the exponent 36 result += (rep_t)(exponent + exponentBias) << significandBits;
|
H A D | floatsisf.c | 40 const int exponent = (aWidth - 1) - __builtin_clz(a); local 44 if (exponent <= significandBits) { 45 const int shift = significandBits - exponent; 48 const int shift = exponent - significandBits; 55 // Insert the exponent 56 result += (rep_t)(exponent + exponentBias) << significandBits;
|
H A D | floatunsisf.c | 32 const int exponent = (aWidth - 1) - __builtin_clz(a); local 36 if (exponent <= significandBits) { 37 const int shift = significandBits - exponent; 40 const int shift = exponent - significandBits; 47 // Insert the exponent 48 result += (rep_t)(exponent + exponentBias) << significandBits;
|
H A D | floatditf.c | 37 const int exponent = (aWidth - 1) - __builtin_clzll(aAbs); local 41 const int shift = significandBits - exponent; 44 // Insert the exponent 45 result += (rep_t)(exponent + exponentBias) << significandBits;
|
H A D | floatsidf.c | 40 const int exponent = (aWidth - 1) - __builtin_clz(a); local 46 const int shift = significandBits - exponent; 49 // Insert the exponent 50 result += (rep_t)(exponent + exponentBias) << significandBits;
|
H A D | floatsitf.c | 37 const int exponent = (aWidth - 1) - __builtin_clz(aAbs); local 41 const int shift = significandBits - exponent; 44 // Insert the exponent 45 result += (rep_t)(exponent + exponentBias) << significandBits;
|
/external/syslinux/com32/lib/math/ |
H A D | strtod.c | 50 int exponent; local 73 exponent = 0; 95 exponent -= num_decimals; 106 // Process an exponent string 125 exponent -= n; 127 exponent += n; 130 if (exponent < __DBL_MIN_EXP__ || exponent > __DBL_MAX_EXP__) { 136 n = exponent; 141 if (exponent < [all...] |
/external/bison/lib/ |
H A D | printf-frexp.c | 69 int exponent; local 76 x = FREXP (x, &exponent); 79 exponent -= 1; 81 if (exponent < MIN_EXP - 1) 83 x = LDEXP (x, exponent - (MIN_EXP - 1)); 84 exponent = MIN_EXP - 1; 88 /* Since the exponent is an 'int', it fits in 64 bits. Therefore the 94 exponent = 0; 97 /* A nonnegative exponent. */ 103 x * 2^exponent [all...] |
H A D | frexp.c | 61 int exponent; local 81 /* Since the exponent is an 'int', it fits in 64 bits. Therefore the 87 exponent = 0; 90 /* A positive exponent. */ 95 x * 2^exponent = argument, x >= 1.0. */ 102 exponent += (1 << i); 118 exponent += (1 << i); 124 /* A negative or zero exponent. */ 129 x * 2^exponent = argument, x < 1.0. */ 136 exponent [all...] |
/external/testng/src/test/java/test/tmp/ |
H A D | ExponentTest.java | 28 public void testExponent(double exponent, double expected) { argument 29 ppp("COMPARING " + myExpFunction(exponent) + " AND " + expected); 30 assertEquals(myExpFunction(exponent), expected); 37 private double myExpFunction(double exponent) { argument 38 return Math.exp(exponent);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/ |
H A D | ZipfDistributionImpl.java | 41 private double exponent; field in class:ZipfDistributionImpl 45 * exponent. Both values must be positive; otherwise an 49 * @param exponent the exponent 52 public ZipfDistributionImpl(final int numberOfElements, final double exponent) argument 55 setExponentInternal(exponent); 98 * Get the exponent characterising the distribution. 100 * @return the exponent 103 return exponent; 107 * Set the exponent characterisin [all...] |
/external/boringssl/src/crypto/bn/ |
H A D | rsaz_exp.h | 49 const BN_ULONG base_norm[16], const BN_ULONG exponent[16],
|
/external/google-benchmark/src/ |
H A D | string_util.cc | 34 int64_t* exponent) { 56 *exponent = i + 1; 62 *exponent = 0; 70 *exponent = -static_cast<int64_t>(i + 1); 76 *exponent = 0; 79 *exponent = 0; 84 std::string ExponentToPrefix(int64_t exponent, bool iec) { argument 85 if (exponent == 0) return ""; 87 const int64_t index = (exponent > 0 ? exponent 32 ToExponentAndMantissa(double val, double thresh, int precision, double one_k, std::string* mantissa, int64_t* exponent) argument 101 int64_t exponent; local [all...] |
/external/libcxx/utils/google-benchmark/src/ |
H A D | string_util.cc | 34 int64_t* exponent) { 56 *exponent = i + 1; 62 *exponent = 0; 70 *exponent = -static_cast<int64_t>(i + 1); 76 *exponent = 0; 79 *exponent = 0; 84 std::string ExponentToPrefix(int64_t exponent, bool iec) { argument 85 if (exponent == 0) return ""; 87 const int64_t index = (exponent > 0 ? exponent 32 ToExponentAndMantissa(double val, double thresh, int precision, double one_k, std::string* mantissa, int64_t* exponent) argument 101 int64_t exponent; local [all...] |
/external/smali/util/src/main/java/org/jf/util/ |
H A D | NumberUtils.java | 86 int exponent = asFloat.indexOf("E"); 88 if (zeros > decimalPoint && zeros < exponent) { 89 asFloat = asFloat.substring(0, zeros) + asFloat.substring(exponent); 92 if (nines > decimalPoint && nines < exponent) { 93 asFloat = asFloat.substring(0, nines) + asFloat.substring(exponent); 128 int exponent = asDouble.indexOf("E"); 130 if (zeros > decimalPoint && zeros < exponent) { 131 asDouble = asDouble.substring(0, zeros) + asDouble.substring(exponent); 134 if (nines > decimalPoint && nines < exponent) { 135 asDouble = asDouble.substring(0, nines) + asDouble.substring(exponent); [all...] |
/external/guava/guava/src/com/google/common/math/ |
H A D | DoubleUtils.java | 47 // The mask for the exponent, according to the {@link 66 int exponent = getExponent(d); 69 return (exponent == MIN_EXPONENT - 1) 94 int exponent = absX.bitLength() - 1; 95 // exponent == floor(log2(abs(x))) 96 if (exponent < Long.SIZE - 1) { 98 } else if (exponent > MAX_EXPONENT) { 108 * It helps to consider the real number signif = absX * 2^(SIGNIFICAND_BITS - exponent). 110 int shift = exponent - SIGNIFICAND_BITS - 1; 123 long bits = (long) ((exponent [all...] |