Searched refs:exponent (Results 1 - 25 of 277) sorted by relevance

1234567891011>>

/external/nanopb-c/examples/using_double_on_avr/
H A Ddouble_conversion.c21 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 DRSAKeyParameters.java11 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/mesa3d/src/mesa/main/
H A Dquerymatrix.h36 _mesa_QueryMatrixxOES(GLfixed mantissa[16], GLint exponent[16]);
/external/v8/src/
H A Dstrtod.h15 double Strtod(Vector<const char> buffer, int exponent);
H A Dstrtod.cc93 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 DStringFloatRep.java45 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 Dhost_generic_maddf.c86 unsigned int exponent:11; member in struct:vg_ieee754_double::__anon23961
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/mesa/drivers/dri/i965/
H A Dbrw_packed_float.c30 unsigned exponent:8; member in struct:fu::__anon15875
45 unsigned exponent = fu.s.exponent - (127 - 3); local
46 unsigned vf = (fu.s.sign << 7) | (exponent << 4) | mantissa;
52 /* Make sure the mantissa fits in 4-bits and the exponent in 3-bits. */
53 if (fu.u & 0x7ffff || exponent > 7)
71 fu.s.exponent = ((vf & 0x70) >> 4) + (127 - 3);
/external/mesa3d/src/util/
H A Dformat_r11g11b10f.h61 /* Map exponent to the range [-127,128] */
62 int exponent = ((f32.ui >> 23) & 0xff) - 127; local
65 if (exponent == 128) { /* Infinity or NaN */
89 } else if (exponent > -15) { /* Representable value */
90 exponent += UF11_EXPONENT_BIAS;
92 uf11 = exponent << UF11_EXPONENT_SHIFT | mantissa;
105 int exponent = (val & 0x07c0) >> UF11_EXPONENT_SHIFT; local
110 if (exponent == 0) {
115 } else if (exponent == 31) {
119 exponent
144 int exponent = ((f32.ui >> 23) & 0xff) - 127; local
187 int exponent = (val & 0x03e0) >> UF10_EXPONENT_SHIFT; local
[all...]
/external/compiler-rt/lib/builtins/
H A Dfloatunditf.c28 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 Dfloatunsidf.c32 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 Dfloatunsitf.c28 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 Dfloatsisf.c40 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 Dfloatunsisf.c32 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 Dfloatditf.c37 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 Dfloatsidf.c40 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 Dfloatsitf.c37 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 Dstrtod.c50 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 Dprintf-frexp.c69 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...]
/external/testng/src/test/java/test/tmp/
H A DExponentTest.java28 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 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/boringssl/src/crypto/fipsmodule/bn/
H A Drsaz_exp.h49 const BN_ULONG base_norm[16], const BN_ULONG exponent[16],
/external/google-benchmark/src/
H A Dstring_util.cc34 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) { argument
89 if (exponent == 0) return "";
91 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
105 int64_t exponent; local
[all...]
/external/libcxx/utils/google-benchmark/src/
H A Dstring_util.cc34 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 DNumberUtils.java86 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...]

Completed in 627 milliseconds

1234567891011>>