Searched defs:exponent (Results 26 - 50 of 127) sorted by relevance

123456

/external/compiler-rt/test/builtins/Unit/ppc/
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/deqp/framework/delibs/debase/
H A DdeMath.c107 double deFractExp (double x, int* exponent) argument
111 *exponent = 0;
118 *exponent = tmpExp - 1;
124 float deFloatFractExp (float x, int* exponent) argument
126 return (float)deFractExp(x, exponent);
149 const int exponent = 31 - deClz32((deUint32)deAbs32(x)); local
150 const int numLostBits = exponent - 23;
/external/freetype/src/psaux/
H A Dpsconv.c266 /* read exponent, if any */
269 FT_Long exponent; local
275 exponent = PS_Conv_ToInt( &p, limit );
280 /* arbitrarily limit exponent */
281 if ( exponent > 1000 )
283 else if ( exponent < -1000 )
286 power_ten += exponent;
/external/icu/icu4c/source/i18n/
H A DdecNumber.h83 int32_t exponent; /* Unadjusted exponent, unbiased, in */ member in struct:__anon5667
H A Dnfrule.h63 double getDivisor() const { return uprv_pow(radix, exponent); }
101 int16_t exponent; member in class:NFRule
/external/mesa3d/src/mesa/main/
H A Dquerymatrix.c25 * GLint exponent[16] )
27 * format. exponent[16] contains the unbiased exponents applied to the
29 * is close to mantissa[i] * 2^exponent[i]. The function returns a status
91 extern GLbitfield GL_APIENTRY _es_QueryMatrixxOES(GLfixed mantissa[16], GLint exponent[16]);
97 GLbitfield GL_APIENTRY _es_QueryMatrixxOES(GLfixed mantissa[16], GLint exponent[16]) argument
165 exponent[i] = (GLint) exp;
180 exponent[i] = (GLint) 0;
194 exponent[i] = (GLint) 0;
203 exponent[i] = (GLint) 0;
/external/pdfium/third_party/freetype/src/psaux/
H A Dpsconv.c266 /* read exponent, if any */
269 FT_Long exponent; local
275 exponent = PS_Conv_ToInt( &p, limit );
280 /* arbitrarily limit exponent */
281 if ( exponent > 1000 )
283 else if ( exponent < -1000 )
286 power_ten += exponent;
/external/v8/src/arm/
H A Dinterface-descriptors-arm.cc46 const Register MathPowTaggedDescriptor::exponent() { return r2; } function in class:v8::internal::MathPowTaggedDescriptor
49 const Register MathPowIntegerDescriptor::exponent() { function in class:v8::internal::MathPowIntegerDescriptor
50 return MathPowTaggedDescriptor::exponent();
/external/v8/src/arm64/
H A Dinterface-descriptors-arm64.cc54 const Register MathPowTaggedDescriptor::exponent() { return x11; } function in class:v8::internal::MathPowTaggedDescriptor
57 const Register MathPowIntegerDescriptor::exponent() { return x12; } function in class:v8::internal::MathPowIntegerDescriptor
/external/v8/src/
H A Dconversions-inl.h89 int exponent = d.Exponent();
90 if (exponent < 0) {
91 if (exponent <= -Double::kSignificandSize) return 0;
92 return d.Sign() * static_cast<int32_t>(d.Significand() >> -exponent);
94 if (exponent > 31) return 0;
95 return d.Sign() * static_cast<int32_t>(d.Significand() << exponent);
144 int exponent = 0; local
178 exponent = overflow_bits_count;
185 exponent += radix_log_2;
206 exponent
[all...]
H A Dstrtod.cc94 int exponent,
107 exponent + (buffer.length() - kMaxSignificantDecimalDigits);
147 // Compute the binary exponent.
148 int exponent = 0; local
149 *result = DiyFp(significand, exponent);
156 int exponent,
172 // If the 10^exponent (resp. 10^-exponent) fits into a double too then we
177 if (exponent < 0 && -exponent < kExactPowersOfTenSiz
93 TrimToMaxSignificantDigits(Vector<const char> buffer, int exponent, char* significant_buffer, int* significant_exponent) argument
155 DoubleStrtod(Vector<const char> trimmed, int exponent, double* result) argument
211 AdjustmentPowerOfTen(int exponent) argument
[all...]
/external/v8/test/cctest/
H A Dtest-code-stubs.cc49 int32_t exponent = (((exponent_bits & shifted_mask) >> local
52 if (exponent < 0) {
55 uint32_t unsigned_exponent = static_cast<uint32_t>(exponent);
60 if ((exponent - Double::kPhysicalSignificandSize) < 32) {
61 result = dbl.u[0] << (exponent - Double::kPhysicalSignificandSize);
66 big_result = big_result >> (Double::kPhysicalSignificandSize - exponent);
H A Dtest-strtod.cc46 static double StrtodChar(const char* str, int exponent) { argument
47 return Strtod(StringToVector(str), exponent);
397 int exponent,
405 // Check that the buffer*10^exponent < (0 + kMinDouble)/2.
408 return CompareBignumToDiyFp(input_digits, exponent, lower_boundary) <= 0;
412 // Check that the buffer*10^exponent >= boundary between kMaxDouble and inf.
415 return CompareBignumToDiyFp(input_digits, exponent, upper_boundary) >= 0;
420 return CompareBignumToDiyFp(input_digits, exponent, lower_boundary) >= 0 &&
421 CompareBignumToDiyFp(input_digits, exponent, upper_boundary) <= 0;
423 return CompareBignumToDiyFp(input_digits, exponent, lower_boundar
396 CheckDouble(Vector<const char> buffer, int exponent, double to_check) argument
460 int exponent = DeterministicRandom() % (25*2 + 1) - 25 - length; local
473 int exponent = DeterministicRandom() % (308*2 + 1) - 308 - length; local
[all...]
/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/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
H A DZipfDistributionImpl.java41 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/mesa3d/src/gallium/auxiliary/util/
H A Du_format_r11g11b10f.h59 /* 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/mesa3d/src/gallium/drivers/r300/compiler/
H A Dradeon_inline_literals.c15 * 30:23 exponent
20 * 3:6 exponent (bias 7)
29 int exponent = biased_exponent - 127; local
34 DBG("Raw exponent = %d\n", exponent);
36 if (exponent < -7 || exponent > 8) {
37 DBG("Failed exponent out of range\n\n");
49 r300_exponent = exponent + 7;
/external/vixl/src/vixl/
H A Dutils.cc113 uint16_t exponent = (value & exponent_mask) >> 10; local
115 if (exponent == 0) {
120 } else if (exponent == exponent_max) {
/external/aac/libPCMutils/src/
H A Dlimiter.cpp124 FIXP_DBL attackConst, releaseConst, exponent; local
145 exponent = invFixp(attack+1);
146 attackConst = fPow(FL2FXCONST_DBL(0.1f), 0, exponent, 0, &e_ans);
150 exponent = invFixp(release + 1);
151 releaseConst = fPow(FL2FXCONST_DBL(0.1f), 0, exponent, 0, &e_ans);
409 FIXP_DBL attackConst, releaseConst, exponent; local
421 exponent = invFixp(attack+1);
422 attackConst = fPow(FL2FXCONST_DBL(0.1f), 0, exponent, 0, &e_ans);
426 exponent = invFixp(release + 1);
427 releaseConst = fPow(FL2FXCONST_DBL(0.1f), 0, exponent,
445 FIXP_DBL attackConst, exponent; local
471 FIXP_DBL releaseConst, exponent; local
[all...]
/external/aac/libSYS/src/
H A Dwav_file.cpp334 INT sign, exponent, mantissa, sample ; local
338 exponent = (ulawbyte >> 4) & 0x07 ;
341 sample = exp_lut[exponent] + (mantissa << (exponent + 3)) ;
/external/ceres-solver/internal/ceres/
H A Dpolynomial.cc75 // Decompose row_norm/col_norm into mantissa * 2^exponent,
77 // of frexp), as only the exponent is needed.
78 int exponent = 0; local
79 std::frexp(row_norm / col_norm, &exponent);
80 exponent /= 2;
82 if (exponent != 0) {
83 const double scaled_col_norm = std::ldexp(col_norm, exponent);
84 const double scaled_row_norm = std::ldexp(row_norm, -exponent);
90 companion_matrix_offdiagonal.row(i) *= std::ldexp(1.0, -exponent);
91 companion_matrix_offdiagonal.col(i) *= std::ldexp(1.0, exponent);
[all...]
/external/deqp/framework/common/
H A DtcuFloat.hpp74 * \param exponent Exponent in range [1-ExponentBias, ExponentBias+1]
80 * The exponent normally used for zero/subnormals is an invalid input. Such
82 * normal exponent (1-ExponentBias). Additionally having both exponent and
85 * exponent of ExponentBias+1 and the appropriate mantissa (with leading
88 static inline Float construct (int sign, int exponent, StorageType mantissa);
93 * \param exponent Exponent in range [-ExponentBias, ExponentBias+1]
99 * The sign is turned into a sign bit and the exponent bias is added.
103 static Float constructBits (int sign, int exponent, StorageType mantissaBits);
114 inline int exponent (voi function in class:tcu::Float
205 construct(int sign, int exponent, StorageType mantissa) argument
226 constructBits(int sign, int exponent, StorageType mantissaBits) argument
[all...]
H A DtcuFloatFormat.cpp127 //! Return the difference between the given nominal exponent and
128 //! the exponent of the lowest significand bit of the
139 //! significand bits and minimum exponent of the floatformat. Round up if
154 //! exponent.
242 const int exponent = exp + m_fractionBits - shift; local
250 << "p" << std::dec << std::setw(0) << exponent;

Completed in 746 milliseconds

123456