Home
last modified time | relevance | path

Searched refs:exp (Results 1 – 25 of 31) sorted by relevance

12

/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/
Dstrtod.h27 inline double FastPath(double significand, int exp) { in FastPath() argument
28 if (exp < -308) in FastPath()
30 else if (exp >= 0) in FastPath()
31 return significand * internal::Pow10(exp); in FastPath()
33 return significand / internal::Pow10(-exp); in FastPath()
130 inline bool StrtodDiyFp(const char* decimals, size_t length, size_t decimalPosition, int exp, doubl… in StrtodDiyFp() argument
152 const int dExp = (int)decimalPosition - (int)i + exp; in StrtodDiyFp()
207 …odBigInteger(double approx, const char* decimals, size_t length, size_t decimalPosition, int exp) { in StrtodBigInteger() argument
209 const int dExp = (int)decimalPosition - (int)length + exp; in StrtodBigInteger()
225 …lPrecision(double d, int p, const char* decimals, size_t length, size_t decimalPosition, int exp) { in StrtodFullPrecision() argument
[all …]
Dbiginteger.h162 BigInteger& MultiplyPow5(unsigned exp) { in MultiplyPow5() argument
177 if (exp == 0) return *this; in MultiplyPow5()
178 for (; exp >= 27; exp -= 27) *this *= RAPIDJSON_UINT64_C2(0X6765C793, 0XFA10079D); // 5^27 in MultiplyPow5()
179 for (; exp >= 13; exp -= 13) *this *= static_cast<uint32_t>(1220703125u); // 5^13 in MultiplyPow5()
180 if (exp > 0) *this *= kPow5[exp - 1]; in MultiplyPow5()
229 unsigned exp = static_cast<unsigned>(end - begin); in AppendDecimal64() local
230 (MultiplyPow5(exp) <<= exp) += u; // *this = *this * 10^exp + u in AppendDecimal64()
Ddiyfp.h41 DiyFp(uint64_t fp, int exp) : f(fp), e(exp) {} in DiyFp()
235 inline DiyFp GetCachedPower10(int exp, int *outExp) { in GetCachedPower10() argument
236 unsigned index = (static_cast<unsigned>(exp) + 348u) / 8u; in GetCachedPower10()
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Dreader.h910 int exp = 0; in ParseNumber() local
927 exp = s.Take() - '0'; in ParseNumber()
930 exp = exp * 10 + (s.Take() - '0'); in ParseNumber()
931 … if (exp >= 214748364) { // Issue #313: prevent overflow exponent in ParseNumber()
940 exp = exp * 10 + (s.Take() - '0'); in ParseNumber()
941 if (exp > maxExp) in ParseNumber()
950 exp = -exp; in ParseNumber()
959 int p = exp + expFrac; in ParseNumber()
961 d = internal::StrtodFullPrecision(d, p, decimal, length, decimalPosition, exp); in ParseNumber()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DScroller.java395 mDuration = (int) (1000.0 * Math.exp(l / (DECELERATION_RATE - 1.0))); in fling()
404 (int) (ALPHA * Math.exp(DECELERATION_RATE / (DECELERATION_RATE - 1.0) * l)); in fling()
426 x -= (1.0f - (float)Math.exp(-x)); in viscousFluid()
429 x = 1.0f - (float)Math.exp(1.0f - x); in viscousFluid()
DOverScroller.java791 return mFlingFriction * PHYSICAL_COEF * Math.exp(DECELERATION_RATE / decelMinusOne * l); in getSplineFlingDistance()
798 return (int) (1000.0 * Math.exp(l / decelMinusOne)); in getSplineFlingDuration()
/packages/services/Mtp/tests/src/com/android/mtp/
DTestUtil.java58 } catch (IOException exp) { in setupMtpDevice()
59 instrumentation.show(Objects.toString(exp.getMessage())); in setupMtpDevice()
/packages/services/Mtp/src/com/android/mtp/
DMtpManager.java276 } catch (IOException exp) { in createDeviceRecord()
277 Log.e(MtpDocumentsProvider.TAG, "Failed to open device", exp); in createDeviceRecord()
DRootScanner.java190 } catch (InterruptedException exp) { in run()
DMtpDocumentsProvider.java466 } catch (SendObjectInfoFailure exp) { in createDocument()
/packages/apps/SecureElement/src/com/android/se/security/
DAccessControlEnforcer.java321 } catch (Throwable exp) { in internal_setUpChannelAccess()
322 throw new AccessControlException(exp.getMessage()); in internal_setUpChannelAccess()
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Dreadertest.cpp311 for (uint64_t exp = 0; exp < 2047; exp++) { in TestParseDouble() local
315 uint64_t u = (exp << 52) | uint64_t(r() & 0x000FFFFF) << 32; in TestParseDouble()
/packages/modules/DnsResolver/
DDnsStatsTest.cpp187 for (const auto& exp : expectation) { in TEST_F() local
188 expectedStats.push_back(makeStatsData(IPSockAddr::toIPSockAddr(exp, 53), 0, 0ms, {})); in TEST_F()
/packages/apps/Gallery2/jni/filters/
Dvibrance.c42 float sx = (float)(Vib/(1+exp(-red*3))); in JNIFUNCF()
Dedge.c96 float ret = 1.0f - exp (- alpha * pow(mag, beta)); in JNIFUNCF()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DOverScroller.java691 … return mFlingFriction * mPhysicalCoeff * Math.exp(DECELERATION_RATE / decelMinusOne * l); in getSplineFlingDistance()
698 return (int) (1000.0 * Math.exp(l / decelMinusOne)); in getSplineFlingDuration()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPaper.java82 (1 / (1 + (float) Math.exp(-t * ROTATE_FACTOR)) - 0.5f) * 2 * -45; in getTransform()
/packages/modules/ExtServices/src/android/ext/services/resolver/
DLRResolverRankerService.java170 return (float) (1.0 / (1.0 + Math.exp(-mBias - sum))); in predict()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DAdapterServiceTest.java714 } catch (NoSuchAlgorithmException | IllegalStateException | InvalidKeyException exp) { in obfuscateInJava()
715 exp.printStackTrace(); in obfuscateInJava()
/packages/apps/Camera2/src/com/android/camera/util/
DCameraUtil.java882 float ex = (float) Math.exp(-(i - mid) * (i - mid) / (mid * mid)) in getGaussianMask()
/packages/inputmethods/LatinIME/dictionaries/
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Des_wordlist.combined.gz1dictionary=main:es,locale=es,description=Español,date=1414726268, ...
/packages/services/Car/tests/BugReportApp/libs/
Djackson-core-2.9.9.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/LICENSE META-INF ...
/packages/apps/Messaging/build/gcheckstyle/
Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...

12