Searched defs:exponent (Results 126 - 150 of 180) sorted by relevance

12345678

/external/mesa3d/src/gallium/auxiliary/util/
H A Du_snprintf.c76 * requires libm on most operating systems. Don't yet support the exponent
1010 int exponent = 0; local
1062 * and on the exponent. However, the exponent can be
1066 * (in order to get the exponent calculated). For
1078 exponent = getexponent(fvalue);
1105 ufvalue /= mypow10(exponent);
1134 * part must be set to one and the exponent must be
1138 exponent++;
1143 * Now that we know the real exponent, w
1321 int exponent = 0; local
1386 mypow10(int exponent) argument
[all...]
/external/mesa3d/src/gallium/drivers/r300/
H A Dr300_emit.c165 int exponent; local
173 mantissa = frexpf(f, &exponent);
180 /* Handle exponent, bias of 63 */
181 exponent += 62;
182 float24 |= (exponent << 16);
/external/mesa3d/src/mesa/drivers/dri/common/
H A Dxmlconfig.c231 * [eE]<exponent>, where <exponent> is an integer as recognized by
232 * strToI. In that case the result is number * 10^exponent. After
239 GLint nDigits = 0, pointPos, exponent; local
251 * digits, exponent and the end of the number. */
273 exponent = strToI (string+1, &expTail, 10);
275 exponent = 0;
279 exponent = 0;
283 scale = sign * (GLfloat)pow (10.0, (GLdouble)(pointPos-1 + exponent));
/external/skia/tests/
H A DBlurTest.cpp204 float exponent = -(x * x) / (2 * sigma * sigma); local
205 return k * expf(exponent);
/external/bison/lib/
H A Dvasnprintf.c1650 12; /* sign, decimal point, exponent etc. */
3103 int exponent; local
3107 mantissa = printf_frexpl (arg, &exponent);
3110 exponent = 0;
3180 SNPRINTF (p, 6 + 1, decimal_format, exponent);
3187 sprintf ((char *) p, "%+d", exponent);
3195 sprintf (expbuf, "%+d", exponent);
3254 int exponent; local
3258 mantissa = printf_frexp (arg, &exponent);
3261 exponent
3553 int exponent = floorlog10l (arg < 0 ? -arg : arg); local
3569 int exponent = floorlog10 (arg < 0 ? -arg : arg); local
3695 int exponent; local
3845 int exponent; local
4157 int exponent; local
4319 int exponent; local
[all...]
/external/chromium_org/net/third_party/nss/ssl/
H A Dssl3prot.h199 SECItem exponent; member in struct:__anon9674
/external/chromium_org/third_party/WebKit/Source/wtf/
H A Ddtoa.cpp812 word0(&d2) -= 31 * Exp_msk1; /* adjust exponent */
1207 void dtoa(DtoaBuffer result, double dd, bool& sign, int& exponent, unsigned& precision) argument
1210 dtoa<true, false, false, true>(result, dd, 0, sign, exponent, precision);
1213 void dtoaRoundSF(DtoaBuffer result, double dd, int ndigits, bool& sign, int& exponent, unsigned& precision) argument
1216 dtoa<false, true, false, false>(result, dd, ndigits, sign, exponent, precision);
1219 void dtoaRoundDP(DtoaBuffer result, double dd, int ndigits, bool& sign, int& exponent, unsigned& precision) argument
1222 dtoa<false, false, true, false>(result, dd, ndigits, sign, exponent, precision);
1271 // The e format is used only when the exponent of the value is less than –4 or greater than or equal to the
/external/chromium_org/third_party/skia/src/effects/
H A DSkLightingImageFilter.cpp1682 const char* exponent; local
1688 kFloat_GrSLType, "Exponent", &exponent);
1706 lightColorBody.appendf("\tfloat scale = pow(cosAngle, %s);\n", exponent);
/external/deqp/modules/gles31/functional/
H A Des31fShaderCommonFunctionTests.cpp101 const int inExp = tcu::Float32(input).exponent();
102 const int outExp = tcu::Float32(output).exponent();
133 const int exp = tcu::Float32(value).exponent();
165 const int exponent[] = local
171 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(exponent) == glu::PRECISION_LAST);
172 DE_ASSERT(de::inBounds<int>(precision, 0, DE_LENGTH_OF_ARRAY(exponent)));
173 return exponent[precision];
178 const int exponent[] = local
184 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(exponent) == glu::PRECISION_LAST);
185 DE_ASSERT(de::inBounds<int>(precision, 0, DE_LENGTH_OF_ARRAY(exponent)));
1659 frexp(float in, float* significand, int* exponent) argument
[all...]
/external/skia/src/effects/
H A DSkLightingImageFilter.cpp1576 const char* exponent; local
1582 kFloat_GrSLType, "Exponent", &exponent);
1600 lightColorBody.appendf("\tfloat scale = pow(cosAngle, %s);\n", exponent);
/external/vixl/src/a64/
H A Dsimulator-a64.cc1614 // exponent: Unbiased IEEE-754 exponent.
1617 // value 'pow(2, exponent)'.
1622 // mantissa has the value 'pow(2, exponent)'.
1627 static T FPRound(int64_t sign, int64_t exponent, uint64_t mantissa, argument
1636 // example, a double with exponent 127 (FLT_MAX_EXP) would appear to be
1643 // The exponent is irrelevant in the rounding operation, so we treat the
1658 // the position of onebit and halfbit depends on the exponent of the
1696 // If all bits in the exponent are set, the value is infinite or NaN.
1701 // Apply the exponent bia
1779 FPRoundToDouble(int64_t sign, int64_t exponent, uint64_t mantissa, FPRounding round_mode) argument
1791 FPRoundToFloat(int64_t sign, int64_t exponent, uint64_t mantissa, FPRounding round_mode) argument
1822 const int64_t exponent = highest_significant_bit - fbits; local
1848 const int32_t exponent = highest_significant_bit - fbits; local
1923 uint64_t exponent = (1 << 11) - 1; local
1963 uint32_t exponent = (1 << 8) - 1; local
1985 int32_t exponent = unsigned_bitextract_64(62, 52, raw) - 1023; local
[all...]
/external/chromium_org/v8/src/arm/
H A Dcode-stubs-arm.cc166 // know exponent > 31, so we can skip the vcvt_s32_f64 which will saturate.
177 // Load scratch with exponent - 1. This is faster than loading
178 // with exponent because Bias + 1 = 1024 which is an *ARM* immediate value.
181 // If exponent is greater than or equal to 84, the 32 less significant
184 // Compare exponent with 84 (compare exponent - 1 with 83).
188 // If we reach this code, 31 <= exponent <= 83.
189 // So, we don't have to handle cases where 0 <= exponent <= 20 for
191 // Scratch contains exponent - 1.
192 // Load scratch with 52 - exponent (loa
766 const Register exponent = MathPowTaggedDescriptor::exponent(); local
[all...]
H A Dlithium-codegen-arm.cc3686 Register exponent = scratch0(); local
3688 __ ldr(exponent, FieldMemOperand(input, HeapNumber::kExponentOffset));
3691 __ tst(exponent, Operand(HeapNumber::kSignMask));
3708 // exponent: floating point exponent value.
3724 __ ldr(exponent, FieldMemOperand(input, HeapNumber::kExponentOffset));
3727 // exponent: floating point exponent value.
3729 __ bic(exponent, exponent, Operan
[all...]
/external/chromium_org/v8/src/ia32/
H A Dcode-stubs-ia32.cc252 // Already a copy of the exponent on the stack, overwrite it.
259 // Do conversion, which cannot fail because we checked the exponent.
384 const Register exponent = MathPowTaggedDescriptor::exponent(); local
385 DCHECK(exponent.is(eax));
401 // The exponent and base are supplied as arguments on the stack.
405 __ mov(exponent, Operand(esp, 1 * kPointerSize));
420 __ JumpIfNotSmi(exponent, &exponent_not_smi, Label::kNear);
421 __ SmiUntag(exponent);
425 __ cmp(FieldOperand(exponent, HeapObjec
[all...]
/external/chromium_org/v8/src/x64/
H A Dcode-stubs-x64.cc263 const Register exponent = MathPowTaggedDescriptor::exponent(); local
264 DCHECK(exponent.is(rdx));
280 // The exponent and base are supplied as arguments on the stack.
285 __ movp(exponent, args.GetArgumentOperand(1));
299 __ JumpIfNotSmi(exponent, &exponent_not_smi, Label::kNear);
300 __ SmiToInteger32(exponent, exponent);
304 __ CompareRoot(FieldOperand(exponent, HeapObject::kMapOffset),
307 __ movsd(double_exponent, FieldOperand(exponent, HeapNumbe
[all...]
/external/libpng/
H A Dpng.c2712 * exponent.
2720 /* Handle negative exponent with a reciprocal at the end because
2779 int exp_b10; /* A base 10 exponent */
2782 /* First extract a base 10 exponent of the number,
2791 (void)frexp(fp, &exp_b10); /* exponent to base 2 */
2793 exp_b10 = (exp_b10 * 77) >> 8; /* <= exponent to base 10 */
2811 * range [.1,1) and exp_b10 is both the exponent and the digit
2828 char exponent[10]; local
2842 * inserting a '.' before a digit if the exponent is 0.
2896 * exponent bu
[all...]
/external/chromium_org/third_party/icu/source/i18n/
H A DdecNumber.c60 /* precision (up to 999,999,999 digits) and arbitrary exponent */
69 /* be finite, positive, have an exponent of zero, and all digits */
71 /* which are 0 or 1 (and will have exponent=0 and a sign of 0). */
136 /* 4. Exponent checking is minimized by allowing the exponent to */
141 /* overflow (the most negative valid exponent is -1999999997, for */
142 /* a 999999999-digit number with adjusted exponent of -999999999). */
396 /* Invalid is set if the decNumber does not have exponent==0 or if */
404 /* special or too many digits, or bad exponent */
405 if (dn->bits&DECSPECIAL || dn->digits>10 || dn->exponent!=0) ; /* bad */
439 /* special or too many digits, or bad exponent, o
510 Int exponent=0; /* working exponent [assume 0] */ local
4279 Int exponent; /* working exponent */ local
4870 Int exponent; /* work */ local
[all...]
H A Ddecimfmt.cpp1780 // adjusting the exponent. For example, 0.01234 with 3 minimum
1785 // which the exponent is restricted to a multiple of 3. For
1791 int32_t exponent = digits.getDecimalAt(); local
1793 // A exponent increment is defined; adjust to it.
1794 exponent = (exponent > 0) ? (exponent - 1) / maxIntDig
1795 : (exponent / maxIntDig) - 1;
1796 exponent *= maxIntDig;
1798 // No exponent incremen
[all...]
H A Ducol.cpp3121 sign/exponent byte: 0x80 + (decimalPos/2) & 7f.
3868 digIndx += 1; // The trailing zero not in the exponent
3880 sign/exponent byte: 0x80 + (decimalPos/2) & 7f.
3881 The exponent must be adjusted by the number of leading zeroes, and the number of
3885 uint32_t exponent = (digIndx+trailingZeroCount)/2; local
3887 exponent -= ((digIndx/2) + 2 - leadingZeroIndex);
3888 numTempBuf[1] = (uint8_t)(0x80 + (exponent & 0x7F));
/external/chromium_org/v8/src/arm64/
H A Dcode-stubs-arm64.cc159 // Extract the exponent.
160 Register exponent = scratch1; local
161 __ Ubfx(exponent, result, HeapNumber::kMantissaBits,
164 // It the exponent is >= 84 (kMantissaBits + 32), the result is always 0 since
166 __ Cmp(exponent, HeapNumber::kExponentBias + HeapNumber::kMantissaBits + 32);
172 // exponents >= 84, we can guarantee that 63 <= exponent < 84.
175 __ Cmp(exponent, HeapNumber::kExponentBias + 63);
190 // it left here, because exponent >= 63 >= kMantissaBits.
191 __ Sub(exponent, exponent,
[all...]
H A Dsimulator-arm64.cc2480 // exponent: Unbiased IEEE-754 exponent.
2483 // value 'pow(2, exponent)'.
2488 // mantissa has the value 'pow(2, exponent)'.
2493 static T FPRound(int64_t sign, int64_t exponent, uint64_t mantissa, argument
2502 // example, a double with exponent 127 (FLT_MAX_EXP) would appear to be
2509 // The exponent is irrelevant in the rounding operation, so we treat the
2524 // the position of onebit and halfbit depends on the exponent of the
2562 // If all bits in the exponent are set, the value is infinite or NaN.
2567 // Apply the exponent bia
2645 FPRoundToDouble(int64_t sign, int64_t exponent, uint64_t mantissa, FPRounding round_mode) argument
2657 FPRoundToFloat(int64_t sign, int64_t exponent, uint64_t mantissa, FPRounding round_mode) argument
2688 const int64_t exponent = highest_significant_bit - fbits; local
2714 const int32_t exponent = highest_significant_bit - fbits; local
2789 uint64_t exponent = (1 << 11) - 1; local
2829 uint32_t exponent = (1 << 8) - 1; local
2851 int32_t exponent = unsigned_bitextract_64(62, 52, raw) - 1023; local
[all...]
/external/chromium_org/v8/src/mips/
H A Dcode-stubs-mips.cc194 // Extract the biased exponent in result.
205 // Express exponent as delta to (number of mantissa bits + 31).
288 // We test for the special value that has a different exponent.
294 // Set up the correct exponent in scratch_. All non-Smi int32s have the same.
295 // A non-Smi integer is 1.xxx * 2^30 so the exponent is 30 (biased).
306 // exponent that happens to be 1. The sign bit is 0 so we shift 10 to get
307 // the most significant 1 to hit the last bit of the 12 bit sign and exponent.
401 // The representation of NaN values has all exponent bits (52..62) set,
405 // Test that exponent bits are all set.
410 // Shift out flag and all exponent bit
840 const Register exponent = MathPowTaggedDescriptor::exponent(); local
[all...]
/external/chromium_org/v8/src/mips64/
H A Dcode-stubs-mips64.cc190 // Extract the biased exponent in result.
201 // Express exponent as delta to (number of mantissa bits + 31).
284 // We test for the special value that has a different exponent.
290 // Set up the correct exponent in scratch_. All non-Smi int32s have the same.
291 // A non-Smi integer is 1.xxx * 2^30 so the exponent is 30 (biased).
302 // exponent that happens to be 1. The sign bit is 0 so we shift 10 to get
303 // the most significant 1 to hit the last bit of the 12 bit sign and exponent.
396 // The representation of NaN values has all exponent bits (52..62) set,
400 // Test that exponent bits are all set.
405 // Shift out flag and all exponent bit
835 const Register exponent = MathPowTaggedDescriptor::exponent(); local
[all...]
/external/icu/icu4c/source/i18n/
H A DdecNumber.c60 /* precision (up to 999,999,999 digits) and arbitrary exponent */
69 /* be finite, positive, have an exponent of zero, and all digits */
71 /* which are 0 or 1 (and will have exponent=0 and a sign of 0). */
136 /* 4. Exponent checking is minimized by allowing the exponent to */
141 /* overflow (the most negative valid exponent is -1999999997, for */
142 /* a 999999999-digit number with adjusted exponent of -999999999). */
398 /* Invalid is set if the decNumber does not have exponent==0 or if */
406 /* special or too many digits, or bad exponent */
407 if (dn->bits&DECSPECIAL || dn->digits>10 || dn->exponent!=0) ; /* bad */
441 /* special or too many digits, or bad exponent, o
512 Int exponent=0; /* working exponent [assume 0] */ local
4281 Int exponent; /* working exponent */ local
4872 Int exponent; /* work */ local
[all...]
/external/chromium_org/third_party/libxml/src/
H A Dtrio.c1048 * Calculate pow(base, exponent), where number and exponent are integers.
1052 TRIO_ARGS2((number, exponent),
1054 int exponent)
1060 switch (exponent)
1095 (trio_long_double_t)exponent);
1101 return powl((trio_long_double_t)number, (trio_long_double_t)exponent);
2619 int exponent = 0; local
2770 exponent = 0;
2777 exponent
1051 TrioPower(number, exponent), int number, int exponent argument
[all...]

Completed in 1439 milliseconds

12345678