/external/deqp/framework/delibs/debase/ |
deMath.h | 95 DE_INLINE float deFloatLdExp (float a, int exponent) { return (float)ldexp(a, exponent); } 96 DE_INLINE float deFloatFrExp (float x, int* exponent) { return (float)frexp(x, exponent); } 97 float deFloatFractExp (float x, int* exponent); 109 DE_INLINE double deLdExp (double a, int exponent) { return ldexp(a, exponent); } 111 DE_INLINE double deFrExp (double x, int* exponent) { return frexp(x, exponent); } 113 double deFractExp (double x, int* exponent); [all...] |
/bootable/recovery/ |
verifier.cpp | 306 std::unique_ptr<RSA, RSADeleter> parse_rsa_key(FILE* file, uint32_t exponent) { 371 if (!key->e || !BN_set_word(key->e, exponent)) { 486 uint32_t exponent = 0; local 493 exponent = 3; 501 exponent = 65537; 506 exponent = 3; 511 exponent = 65537; 524 cert.rsa = parse_rsa_key(f.get(), exponent); 529 LOG(INFO) << "read key e=" << exponent << " hash=" << cert.hash_len;
|
/packages/apps/ExactCalculator/src/com/android/calculator2/ |
BoundedRational.java | 82 exp += 1; // Denormal exponent is 1 greater. 189 int exponent = neededPrec + qLength; // Exponent assuming leading binary point. 190 if (exponent >= -1021) { 192 --exponent; 195 extraBits += (-1022 - exponent) + 1; 196 exponent = -1023; 200 if (exponent > 1024) { 203 if (exponent > -1023 && bigMantissa.bitLength() != 53 204 || exponent <= -1023 && bigMantissa.bitLength() >= 53) [all...] |
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
pvamrwb_math_op.cpp | 325 int16 * exp /* (i/o) : exponent (value = frac x 2^exponent) */ 417 * The result is normalized (in Q31) with exponent (0..30). 428 int16 * exp /* (o) : exponent of result (0..+30) */ 456 *exp = 30 - sft; /* exponent = 0..30 */ 475 * normalized, and exp is the normalisation exponent 482 * 1- exponent = 30-norm_exponent 492 int16 *exponent, /* (o) : Integer part of Log2. (range: 0<=val<=30) */ 501 *exponent = 0; 506 *exponent = 30 - exp 547 Lg2_normalized(shl_int32(L_x, exp), exp, exponent, fraction); local [all...] |
/external/icu/icu4c/source/i18n/ |
nfrule.cpp | 40 , exponent(0) 154 && (rule1->baseValue % util64_pow(rule1->radix, rule1->exponent)) == 0) 191 // both rules have the same radix and exponent (i.e., the 194 rule2->exponent = rule1->exponent; 241 * exponent according to the descriptor. (If the description doesn't 337 // accordingly, and recalculate the rule's exponent 344 exponent = expectedExponent(); 349 // decrement the exponent (unless the exponent is already 0) [all...] |
precision.h | 98 * @param exponent Always pass 0 for fixed decimal formatting. scientific 99 * precision passes the exponent value. Essentially, it divides value by 100 * 10^exponent, rounds and then multiplies by 10^exponent. 104 DigitList &round(DigitList &value, int32_t exponent, UErrorCode &status) const; 212 * The value that 'digits' is initialized to is mantissa * 10^exponent. 213 * For example mantissa = 54700 and exponent = -3 means 54.7. The 220 * @param exponent must always be zero or negative. An exponent > 0 228 int32_t exponent, [all...] |
/external/aac/libSBRdec/src/ |
env_dec.cpp | 668 Energy levels are transmitted in powers of 2, i.e. only the exponent 677 part of the exponent for each reference energy. The array iEnvelope 690 int exponent; local 711 exponent = (LONG)h_sbr_data->iEnvelope[i]; 715 exponent = exponent >> ampShift; 719 exponent (result will be between 0.500000 and 0.999999) 721 mask = 1; /* begin with lowest bit of exponent */ 724 if (exponent & mask) { 725 /* The current bit of the exponent is set [all...] |
/system/core/libcrypto_utils/ |
android_pubkey.c | 52 uint32_t exponent; member in struct:RSAPublicKey 89 // Read the exponent. 91 if (!new_key->e || !BN_set_word(new_key->e, key_struct->exponent)) { 158 // Store the exponent. 159 key_struct->exponent = (uint32_t)BN_get_word(key->e);
|
/external/guava/guava-tests/test/com/google/common/math/ |
MathTesting.java | 118 for (int exponent : asList(2, 3, 4, 9, 15, 16, 17, 24, 25, 30)) { 119 int x = 1 << exponent; 154 for (int exponent : asList(32, 33, 39, 40, 41, 47, 48, 49, 55, 56, 57)) { 155 long x = 1L << exponent; 187 for (int exponent : asList(64, 65, 71, 72, 73, 79, 80, 81, 255, 256, 257, 511, 512, 513, 189 BigInteger x = ONE.shiftLeft(exponent);
|
/external/v8/src/ |
bignum.h | 17 // exponent. 28 void AssignPowerUInt16(uint16_t base, int exponent); 40 void MultiplyByPowerOfTen(int exponent); 102 // BigitLength includes the "hidden" digits encoded in the exponent.
|
/prebuilts/go/darwin-x86/src/math/big/ |
ftoa.go | 20 // 'e' -d.dddde±dd, decimal exponent, at least two (possibly 0) exponent digits 21 // 'E' -d.ddddE±dd, decimal exponent, at least two (possibly 0) exponent digits 22 // 'f' -ddddd.dddd, no exponent 25 // 'b' -ddddddp±dd, binary exponent 26 // 'p' -0x.dddp±dd, binary exponent, hexadecimal mantissa 28 // For the binary exponent formats, the mantissa is printed in normalized form: 36 // The precision prec controls the number of digits (excluding the exponent) 136 // %e is used if the exponent from the conversio [all...] |
/prebuilts/go/linux-x86/src/math/big/ |
ftoa.go | 20 // 'e' -d.dddde±dd, decimal exponent, at least two (possibly 0) exponent digits 21 // 'E' -d.ddddE±dd, decimal exponent, at least two (possibly 0) exponent digits 22 // 'f' -ddddd.dddd, no exponent 25 // 'b' -ddddddp±dd, binary exponent 26 // 'p' -0x.dddp±dd, binary exponent, hexadecimal mantissa 28 // For the binary exponent formats, the mantissa is printed in normalized form: 36 // The precision prec controls the number of digits (excluding the exponent) 136 // %e is used if the exponent from the conversio [all...] |
/prebuilts/go/darwin-x86/src/strconv/ |
atof.go | 117 // optional exponent moves decimal point. 154 // readFloat reads a decimal mantissa and exponent from a float 214 // optional exponent moves decimal point. 308 // Minimum representable exponent is flt.bias+1. 309 // If the exponent is smaller, move it up and 386 // If exponent is big but number of digits is not, 393 // the exponent was really too large. 419 // If exponent is big but number of digits is not, 426 // the exponent was really too large. 444 // Parse mantissa and exponent [all...] |
/prebuilts/go/linux-x86/src/strconv/ |
atof.go | 117 // optional exponent moves decimal point. 154 // readFloat reads a decimal mantissa and exponent from a float 214 // optional exponent moves decimal point. 308 // Minimum representable exponent is flt.bias+1. 309 // If the exponent is smaller, move it up and 386 // If exponent is big but number of digits is not, 393 // the exponent was really too large. 419 // If exponent is big but number of digits is not, 426 // the exponent was really too large. 444 // Parse mantissa and exponent [all...] |
/external/freetype/src/cff/ |
cffparse.c | 188 FT_Long result, number, exponent; local 199 exponent = 0; 231 /* Increase exponent if we can't add the digit. */ 275 /* Read exponent, if any. */ 303 /* Arbitrarily limit exponent. */ 304 if ( exponent > 1000 ) 307 exponent = exponent * 10 + nib; 311 exponent = -exponent; [all...] |
/libcore/ojluni/src/main/java/sun/misc/ |
FloatingDecimal.java | 45 static final long EXP_ONE = ((long)DoubleConsts.EXP_BIAS)<<EXP_SHIFT; // exponent of 1.0 143 * Retrieves the decimal exponent most closely corresponding to this value. 144 * @return The decimal exponent. 216 throw new IllegalArgumentException("Exceptional value does not have an exponent"); 2230 long exponent = rawExponent + exponentAdjust; local [all...] |
/art/runtime/interpreter/mterp/arm/ |
op_double_to_long.S | 12 ubfx r2, r1, #20, #11 @ grab the exponent
|
/external/libconstrainedcrypto/ |
rsa.c | 115 if (key->exponent == 65537) { 123 } else if (key->exponent == 3) { 271 if (key->exponent != 3 && key->exponent != 65537) { 272 return 0; // Unsupported exponent.
|
/external/tpm2/ |
CpriRSA_fp.h | 35 UINT32 e, // IN: The public exponent 54 TPM2B *d, // OUT: the address to receive the private exponent 55 UINT32 exponent, // IN: the public modulu
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/sys/ |
ucontext.h | 88 unsigned short int exponent; member in struct:_libc_fpreg
|
/system/keymaster/km_openssl/ |
rsa_key_factory.cpp | 63 LOG_E("No public exponent specified for RSA key generation", 0); 67 LOG_E("Invalid public exponent specified for RSA key generation", 0); 81 UniquePtr<BIGNUM, BIGNUM_Delete> exponent(BN_new()); 84 if (exponent.get() == NULL || rsa_key.get() == NULL || pkey.get() == NULL) 87 if (!BN_set_word(exponent.get(), public_exponent) || 88 !RSA_generate_key_ex(rsa_key.get(), key_size, exponent.get(), NULL /* callback */)) 151 LOG_E("Imported public exponent (%u) does not match specified public exponent (%u)",
|
/libcore/luni/src/main/java/java/math/ |
BigDecimal.java | 304 // Accumulating all digits until a possible exponent 322 // An exponent was found 470 // Extracting the exponent, note that the bias is 1023 2210 long exponent = -(long)scale + end - begin; local 2255 long exponent = -(long)scale + end - begin; local 2539 int exponent = 1076; \/\/ bias + 53 local [all...] |
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
res_debug.c | 574 int mantissa, exponent;
local 577 exponent = (int)((prec >> 0) & 0x0f) % 10;
579 val = mantissa * poweroften[exponent];
594 int exponent;
local 613 for (exponent = 0; exponent < 9; exponent++)
614 if (cmval < poweroften[exponent+1])
617 mantissa = cmval / poweroften[exponent];
621 retval = (u_int8_t)((mantissa << 4) | exponent);
[all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/impl/number/ |
DecimalQuantity_SimpleStorage.java | 132 int exponent = (int) ((ieeeBits & 0x7ff0000000000000L) >> 52) - 0x3ff; local 133 if (exponent >= 52 && exponent <= 63) { 136 primary = (mantissa << (exponent - 52)); 207 int exponent = (int) ((ieeeBits & 0x7ff0000000000000L) >> 52) - 0x3ff; local 209 if (exponent > 63) { 211 } else if (exponent >= 52) { 212 primary = (mantissa << (exponent - 52)); 216 } else if (exponent >= 0) { 217 int shift = 52 - exponent; [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/impl/number/ |
DecimalQuantity_SimpleStorage.java | 129 int exponent = (int) ((ieeeBits & 0x7ff0000000000000L) >> 52) - 0x3ff; local 130 if (exponent >= 52 && exponent <= 63) { 133 primary = (mantissa << (exponent - 52)); 204 int exponent = (int) ((ieeeBits & 0x7ff0000000000000L) >> 52) - 0x3ff; local 206 if (exponent > 63) { 208 } else if (exponent >= 52) { 209 primary = (mantissa << (exponent - 52)); 213 } else if (exponent >= 0) { 214 int shift = 52 - exponent; [all...] |