Searched defs:exponent (Results 1 - 25 of 74) sorted by relevance

123

/external/aac/libAACdec/src/
H A Dblock.h188 * \brief find a common exponent (shift factor) for all sfb in each Spectral window, and store them into
230 * \return the exponent of the result (mantissa) stored into *pValue.
238 UINT exponent; local
242 exponent = DFRACT_BITS - freeBits ;
243 FDK_ASSERT (exponent < 14);
258 *pValue = fMultDiv2 (invQVal, MantissaTable [lsb][exponent]) ;
261 return ExponentTable [lsb][exponent] + 1;
/external/compiler-rt/lib/
H A Dfixdfsi.c25 // Break a into sign, exponent, significand
29 const int exponent = (aAbs >> significandBits) - exponentBias; local
32 // If 0 < exponent < significandBits, right shift to get the result.
33 if ((unsigned int)exponent < significandBits) {
34 return sign * (significand >> (significandBits - exponent));
37 // If exponent is negative, the result is zero.
38 else if (exponent < 0) {
42 // If significandBits < exponent, left shift to get the result. This shift
47 return sign * (significand << (exponent - significandBits));
H A Dfixsfsi.c23 // Break a into sign, exponent, significand
27 const int exponent = (aAbs >> significandBits) - exponentBias; local
30 // If 0 < exponent < significandBits, right shift to get the result.
31 if ((unsigned int)exponent < significandBits) {
32 return sign * (significand >> (significandBits - exponent));
35 // If exponent is negative, the result is zero.
36 else if (exponent < 0) {
40 // If significandBits < exponent, left shift to get the result. This shift
45 return sign * (significand << (exponent - significandBits));
H A Dfloatsidf.c39 const int exponent = (aWidth - 1) - __builtin_clz(a); local
45 const int shift = significandBits - exponent;
48 // Insert the exponent
49 result += (rep_t)(exponent + exponentBias) << significandBits;
H A Dfloatsisf.c39 const int exponent = (aWidth - 1) - __builtin_clz(a); local
43 if (exponent <= significandBits) {
44 const int shift = significandBits - exponent;
47 const int shift = exponent - significandBits;
54 // Insert the exponent
55 result += (rep_t)(exponent + exponentBias) << significandBits;
H A Dfloatunsidf.c31 const int exponent = (aWidth - 1) - __builtin_clz(a); local
35 const int shift = significandBits - exponent;
38 // Insert the exponent
39 result += (rep_t)(exponent + exponentBias) << significandBits;
H A Dfloatunsisf.c31 const int exponent = (aWidth - 1) - __builtin_clz(a); local
35 if (exponent <= significandBits) {
36 const int shift = significandBits - exponent;
39 const int shift = exponent - significandBits;
46 // Insert the exponent
47 result += (rep_t)(exponent + exponentBias) << significandBits;
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
H A DRSAKeyParameters.java9 private BigInteger exponent; field in class:RSAKeyParameters
14 BigInteger exponent)
19 this.exponent = exponent;
29 return exponent;
11 RSAKeyParameters( boolean isPrivate, BigInteger modulus, BigInteger exponent) argument
/external/webkit/Source/JavaScriptCore/wtf/
H A DDecimalNumber.cpp37 // if the exponent is negative the number decimal representation is of the form:
90 int exponent = (m_exponent >= 0) ? m_exponent : -m_exponent; local
92 // Add the exponent
93 if (exponent >= 100)
95 if (exponent >= 10)
110 // if the exponent is negative the number decimal representation is of the form:
180 int exponent; local
183 exponent = m_exponent;
186 exponent = -m_exponent;
189 // Add the exponent
[all...]
H A DDecimalNumber.h47 // Zero should always have exponent 0.
65 // Zero should always have exponent 0.
80 // Zero should always have exponent 0.
91 int exponent() const { return m_exponent; } function in class:WTF::DecimalNumber
/external/compiler-rt/test/Unit/ppc/
H A Dqadd_test.c266 // Some test cases that cover the whole exponent range:
1831 int exponent = ilogb(r.hi); local
1832 exponent = (exponent < -1022 ? -1022 : exponent);
1833 double ulpError = scalbn(error, 106 - exponent);
H A Dqdiv_test.c754 int exponent = ilogb(r.hi); local
755 exponent = (exponent < -1022 ? -1022 : exponent);
756 double ulpError = scalbn(error, 106 - exponent);
H A Dqmul_test.c752 int exponent = ilogb(r.hi); local
753 exponent = (exponent < -1022 ? -1022 : exponent);
754 double ulpError = scalbn(error, 106 - exponent);
H A Dqsub_test.c268 // Some test cases that cover the whole exponent range:
1833 int exponent = ilogb(r.hi); local
1834 exponent = (exponent < -1022 ? -1022 : exponent);
1835 double ulpError = scalbn(error, 106 - exponent);
/external/icu4c/i18n/
H A DdecNumber.h83 int32_t exponent; /* Unadjusted exponent, unbiased, in */ member in struct:__anon5870
H A Dnfrule.h62 double getDivisor() const { return uprv_pow(radix, exponent); }
97 int16_t exponent; member in class:NFRule
/external/v8/src/
H A Dconversions-inl.h94 int exponent = d.Exponent();
95 if (exponent < 0) {
96 if (exponent <= -Double::kSignificandSize) return 0;
97 return d.Sign() * static_cast<int32_t>(d.Significand() >> -exponent);
99 if (exponent > 31) return 0;
100 return d.Sign() * static_cast<int32_t>(d.Significand() << exponent);
149 int exponent = 0; local
183 exponent = overflow_bits_count;
190 exponent += radix_log_2;
211 exponent
[all...]
H A Dstrtod.cc115 int exponent,
128 exponent + (buffer.length() - kMaxSignificantDecimalDigits);
167 // Compute the binary exponent.
168 int exponent = 0; local
169 *result = DiyFp(significand, exponent);
176 int exponent,
192 // If the 10^exponent (resp. 10^-exponent) fits into a double too then we
197 if (exponent < 0 && -exponent < kExactPowersOfTenSiz
114 TrimToMaxSignificantDigits(Vector<const char> buffer, int exponent, char* significant_buffer, int* significant_exponent) argument
175 DoubleStrtod(Vector<const char> trimmed, int exponent, double* result) argument
231 AdjustmentPowerOfTen(int exponent) argument
[all...]
/external/v8/test/cctest/
H A Dtest-strtod.cc20 static double StrtodChar(const char* str, int exponent) { argument
21 return Strtod(StringToVector(str), exponent);
371 int exponent,
379 // Check that the buffer*10^exponent < (0 + kMinDouble)/2.
382 return CompareBignumToDiyFp(input_digits, exponent, lower_boundary) <= 0;
386 // Check that the buffer*10^exponent >= boundary between kMaxDouble and inf.
389 return CompareBignumToDiyFp(input_digits, exponent, upper_boundary) >= 0;
394 return CompareBignumToDiyFp(input_digits, exponent, lower_boundary) >= 0 &&
395 CompareBignumToDiyFp(input_digits, exponent, upper_boundary) <= 0;
397 return CompareBignumToDiyFp(input_digits, exponent, lower_boundar
370 CheckDouble(Vector<const char> buffer, int exponent, double to_check) argument
433 int exponent = DeterministicRandom() % (25*2 + 1) - 25 - length; local
446 int exponent = DeterministicRandom() % (308*2 + 1) - 308 - length; local
[all...]
/external/webkit/Source/WebCore/platform/graphics/filters/
H A DFEComponentTransfer.h48 , exponent(0)
58 float exponent; member in struct:WebCore::ComponentTransferFunction
/external/aac/libSBRdec/src/
H A Dtranscendent.h114 \brief Add two values given by mantissa and exponent.
135 For the smaller summand, the exponent is adapted and
173 For the smaller summand, the exponent is adapted and
198 \brief Divide two values given by mantissa and exponent.
320 \brief Calculate the squareroot of a number given by mantissa and exponent
323 The base for the exponent is 2. Example: \f$ a = a\_m * 2^{a\_e} \f$<br>
330 SCHAR *exponent,
334 int input_e = (int) *exponent;
343 if (exponent==destScale) {
345 *exponent
329 FDK_sqrt_MantExp(FIXP_DBL *mantissa, SCHAR *exponent, const SCHAR *destScale) argument
[all...]
/external/chromium/third_party/libjingle/source/talk/base/
H A Dopensslidentity.cc69 BIGNUM* exponent = BN_new(); local
71 if (!pkey || !exponent || !rsa ||
72 !BN_set_word(exponent, 0x10001) || // 65537 RSA exponent
73 !RSA_generate_key_ex(rsa, KEY_LENGTH, exponent, NULL) ||
76 BN_free(exponent);
81 BN_free(exponent);
/external/skia/tests/
H A DScalarTest.cpp18 int exponent = bits << 1 >> 24; local
19 return exponent != 0xFF;
/external/webkit/Source/WebCore/html/parser/
H A DHTMLParserIdioms.cpp124 int exponent = 0; local
151 exponent = 19999; /* safe for 16 bit ints */
153 exponent = static_cast<int>(exponent32);
155 exponent = -exponent;
157 exponent = 0;
161 int intDecimalPlaces = baseDecimalPlaces - exponent;
/external/aac/libSYS/src/
H A Dwav_file.cpp335 INT sign, exponent, mantissa, sample ; local
339 exponent = (ulawbyte >> 4) & 0x07 ;
342 sample = exp_lut[exponent] + (mantissa << (exponent + 3)) ;

Completed in 1514 milliseconds

123