HomeSort by relevance Sort by last modified time
    Searched refs:exponent (Results 26 - 50 of 775) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/v8/src/
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 < kExactPowersOfTenSize)
    [all...]
fixed-dtoa.cc 203 // point at bit (-exponent).
205 // -128 <= exponent <= 0.
206 // 0 <= fractionals * 2^exponent < 1
213 static void FillFractionals(uint64_t fractionals, int exponent,
216 DCHECK(-128 <= exponent && exponent <= 0);
218 // (-exponent). Inside the function the non-converted remainder of fractionals
220 if (-exponent <= 64) {
223 int point = -exponent;
248 DCHECK(64 < -exponent && -exponent <= 128)
297 int exponent = Double(v).Exponent(); local
348 significand <<= exponent; local
    [all...]
  /external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
ZipfDistributionImpl.java 40 /** Exponent parameter of the distribution. */
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)
55 setExponentInternal(exponent);
98 * Get the exponent characterising the distribution.
100 * @return the exponent
103 return exponent;
    [all...]
  /external/compiler-rt/lib/builtins/
floatditf.c 36 // Exponent of (fp_t)a is the width of abs(a).
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;
floatsidf.c 39 // Exponent of (fp_t)a is the width of abs(a).
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;
floatsitf.c 36 // Exponent of (fp_t)a is the width of abs(a).
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;
  /frameworks/av/media/libstagefright/codecs/amrnb/common/src/
log2_norm.cpp 93 exponent = pointer to the integer part of Log2 (of type Word16)
99 exponent points to the newly calculated integer part of Log2
118 1. exponent = 30 - norm_exponent
140 Word16 *exponent, // (o) : Integer part of Log2. (range: 0<=val<=30)
149 *exponent = 0;
154 *exponent = sub (30, exp);
199 Word16 *exponent, /* (o) : Integer part of Log2. (range: 0<=val<=30)*/
208 *exponent = 0;
213 /* Calculate exponent portion of Log2 */
214 *exponent = 30 - exp
    [all...]
pow2.cpp 82 exponent = Integer part whose valid range is: 0 <= value <= 30 (Word16)
103 This function computes L_x = pow(2.0, exponent.fraction)
110 4- L_x = L_x >> (30-exponent) (with rounding)
126 Word16 exponent, // (i) : Integer part. (range: 0<=val<=30)
143 exp = sub (30, exponent);
177 Word16 exponent, /* (i) : Integer part. (range: 0<=val<=30) */
198 exp = sub(30, exponent, pOverflow);
  /frameworks/opt/net/voip/src/jni/rtp/
G711Codec.cpp 60 int exponent = gExponents[sample >> 8]; local
61 int mantissa = (sample >> (exponent + 3)) & 0x0F;
62 ulaws[i] = ~(sign | (exponent << 4) | mantissa);
75 int exponent = (ulaw >> 4) & 0x07; local
77 int sample = (((mantissa << 3) + 132) << exponent) - 132;
110 int exponent = gExponents[sample >> 8]; local
111 int mantissa = (sample >> (exponent == 0 ? 4 : exponent + 3)) & 0x0F;
112 alaws[i] = (sign | (exponent << 4) | mantissa) ^ 0xD5;
125 int exponent = (alaw >> 4) & 0x07 local
    [all...]
  /external/boringssl/src/crypto/fipsmodule/bn/
rsaz_exp.h 49 const BN_ULONG base_norm[16], const BN_ULONG exponent[16],
  /frameworks/av/media/libstagefright/codecs/amrnb/common/include/
log2_norm.h 108 Word16 *exponent, /* (o) : Integer part of Log2. (range: 0<=val<=30) */
  /toolchain/binutils/binutils-2.27/gas/
flonum-copy.c 55 out->exponent = in->exponent;
67 out->exponent = in->exponent + shorten;
flonum-mult.c 84 long exponent;
103 exponent = a->exponent + b->exponent;
110 exponent -= extra_product_positions; /* Increases exponent. */
158 exponent++;
174 exponent++;
187 product->exponent = exponent;
83 long exponent; local
    [all...]
  /external/tensorflow/tensorflow/core/lib/core/
bits.h 96 int exponent = Log2Ceiling(value); local
97 DCHECK_LT(exponent, std::numeric_limits<uint32>::digits);
98 return 1 << exponent;
102 int exponent = Log2Ceiling(value); local
103 DCHECK_LT(exponent, std::numeric_limits<uint64>::digits);
104 return 1LL << exponent;
  /external/google-benchmark/src/
string_util.cc 32 int64_t* exponent) {
56 *exponent = i + 1;
62 *exponent = 0;
71 *exponent = -static_cast<int64_t>(i + 1);
78 *exponent = 0;
81 *exponent = 0;
86 std::string ExponentToPrefix(int64_t exponent, bool iec) {
87 if (exponent == 0) return "";
89 const int64_t index = (exponent > 0 ? exponent - 1 : -exponent - 1)
103 int64_t exponent; local
    [all...]
  /external/libcxx/utils/google-benchmark/src/
string_util.cc 32 int64_t* exponent) {
56 *exponent = i + 1;
62 *exponent = 0;
71 *exponent = -static_cast<int64_t>(i + 1);
78 *exponent = 0;
81 *exponent = 0;
86 std::string ExponentToPrefix(int64_t exponent, bool iec) {
87 if (exponent == 0) return "";
89 const int64_t index = (exponent > 0 ? exponent - 1 : -exponent - 1)
103 int64_t exponent; local
    [all...]
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/utils/google-benchmark/src/
string_util.cc 34 int64_t* exponent) {
58 *exponent = i + 1;
64 *exponent = 0;
73 *exponent = -static_cast<int64_t>(i + 1);
80 *exponent = 0;
83 *exponent = 0;
88 std::string ExponentToPrefix(int64_t exponent, bool iec) {
89 if (exponent == 0) return "";
91 const int64_t index = (exponent > 0 ? exponent - 1 : -exponent - 1)
105 int64_t exponent; local
    [all...]
  /external/smali/util/src/main/java/org/jf/util/
NumberUtils.java 86 int exponent = asFloat.indexOf("E"); local
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"); local
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/
DoubleUtils.java 47 // The mask for the exponent, according to the {@link
66 int exponent = getExponent(d); local
69 return (exponent == MIN_EXPONENT - 1)
94 int exponent = absX.bitLength() - 1; local
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 + EXPONENT_BIAS)) << SIGNIFICAND_BITS
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/number/
ScientificNotation.java 44 * Sets the minimum number of digits to show in the exponent of scientific notation, padding with zeros if
52 * The minimum number of digits to show in the exponent.
77 * The strategy for displaying the sign in the exponent.
110 // During formatting, we need to provide an object with state (the exponent) as the inner modifier.
117 // the state (the exponent) into that ScientificModifier. There is no difference between safe and unsafe.
125 /* unsafe */ int exponent; field in class:ScientificNotation.ScientificHandler
150 int exponent; local
155 exponent = 0;
158 exponent = 0;
161 exponent = -micros.rounding.chooseMultiplierAndApply(quantity, this)
245 final int exponent; field in class:ScientificNotation.ScientificModifier
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
ScientificNotation.java 43 * Sets the minimum number of digits to show in the exponent of scientific notation, padding with zeros if
51 * The minimum number of digits to show in the exponent.
77 * The strategy for displaying the sign in the exponent.
111 // During formatting, we need to provide an object with state (the exponent) as the inner modifier.
118 // the state (the exponent) into that ScientificModifier. There is no difference between safe and unsafe.
126 /* unsafe */ int exponent; field in class:ScientificNotation.ScientificHandler
151 int exponent; local
156 exponent = 0;
159 exponent = 0;
162 exponent = -micros.rounding.chooseMultiplierAndApply(quantity, this)
246 final int exponent; field in class:ScientificNotation.ScientificModifier
    [all...]
  /external/mesa3d/src/mesa/main/
querymatrix.c 26 * GLint exponent[16] )
28 * format. exponent[16] contains the unbiased exponents applied to the
30 * is close to mantissa[i] * 2^exponent[i]. The function returns a status
42 _mesa_QueryMatrixxOES(GLfixed mantissa[16], GLint exponent[16])
109 exponent[i] = (GLint) exp;
124 exponent[i] = (GLint) 0;
138 exponent[i] = (GLint) 0;
147 exponent[i] = (GLint) 0;
  /external/syslinux/gpxe/src/crypto/
x509.c 94 * Identify X.509 certificate RSA modulus and public exponent
102 * the RSA modulus and exponent.
109 struct asn1_cursor exponent; local
144 /* Pick out the modulus and exponent */
158 memcpy ( &exponent, &pubkey, sizeof ( exponent ) );
159 rc = ( asn1_skip ( &exponent, ASN1_INTEGER ), /* modulus */
160 asn1_enter ( &exponent, ASN1_INTEGER ) /* publicExponent */ );
167 /* Allocate space and copy out modulus and exponent */
168 rsa_pubkey->modulus = malloc ( modulus.len + exponent.len )
    [all...]
  /system/media/audio_utils/
minifloat.c 59 int exponent = (a >> MANTISSA_BITS) & EXPONENT_MAX; local
60 return ldexpf((exponent > 0 ? HIDDEN_BIT | mantissa : mantissa << 1) / ONE_FLOAT,
61 exponent - EXCESS);
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_strtod.py 22 (?:E(?P<exp>[-+]?\d+))? # and an optional exponent
49 # compute exponent e for result; may be one too small in the case
129 digits, exponent = n, e
131 s = '{}e{}'.format(digits, exponent)
134 s = '{}e{}'.format(digits * 10**40, exponent - 40)
140 digits, exponent = n, e
142 s = '{}e{}'.format(digits, exponent)
145 s = '{}e{}'.format(digits * 10**40, exponent - 40)
148 exponent -= 1
168 exponent = 0
    [all...]

Completed in 731 milliseconds

12 3 4 5 6 7 8 91011>>