Home
last modified time | relevance | path

Searched refs:sqrt (Results 1 – 15 of 15) sorted by relevance

/system/media/audio_utils/tests/
Dstatistics_tests.cpp266 TEST(StatisticsTest, sqrt) in TEST() argument
270 android::audio_utils::sqrt(std::numeric_limits<double>::infinity())); in TEST()
273 android::audio_utils::sqrt(-std::numeric_limits<double>::infinity())); in TEST()
275 PRINT_AND_EXPECT_NEAR(sqrt(std::numeric_limits<double>::epsilon()), in TEST()
276 android::audio_utils::sqrt(std::numeric_limits<double>::epsilon())); in TEST()
279 android::audio_utils::sqrt(9.)); in TEST()
282 android::audio_utils::sqrt(0.)); in TEST()
285 android::audio_utils::sqrt(-1.)); in TEST()
288 android::audio_utils::sqrt(std::nan(""))); in TEST()
292 android::audio_utils::sqrt(std::numeric_limits<float>::infinity())); in TEST()
[all …]
Dvariadic_tests.cpp117 std::cout << "x=" << x << " sqrt(x)=" << android::audio_utils::sqrt(x) << "\n"; in TEST()
/system/extras/boottime_tools/io_analysis/
Dcheck_verity.py48 sigma_io = math.sqrt(var_io / N)
49 sigma_verity = math.sqrt(var_verity / N)
50 sigma_total = math.sqrt(var_total / N)
/system/extras/app-launcher/
Dcomputestatsf.c83 std_dev = sqrt((sum_sq_x / num_data_items) - (mean * mean)); in main()
Dcomputestats.c83 std_dev = sqrt((sum_sq_x / num_data_items) - (mean * mean)); in main()
/system/media/audio_utils/include/audio_utils/
DStatistics.h348 return android::audio_utils::sqrt(getVariance());
352 return android::audio_utils::sqrt(getPopVariance());
495 return sqrt(getVariance());
499 return sqrt(getPopVariance());
Dvariadic_utils.h475 MAKE_VARIADIC_STD_UNARY_FUNCTION(sqrt);
/system/core/storaged/include/
Dstoraged_diskstats.h129 return sqrt(mSquareSum / mCnt - mSum * mSum / (mCnt * mCnt)); in get_std()
/system/teeui/libteeui/include/teeui/
Dutils.h213 inline long double sqrt(long double v) {
217 inline double sqrt(double v) {
218 return ::sqrt(v);
376 Coordinate sqrt() const { return bits::sqrt(value_); }
588 return bits::sqrt(factor.count());
/system/extras/tests/ext4/
Drand_emmc_perf.c106 sdev = sqrt((double)variance/(double)stats_count); in print_stats()
/system/core/init/
Dperfboot.py344 return math.sqrt(sum((x - m) ** 2 for x in data) / len(data))
/system/chre/external/kiss_fft/
Dkiss_fft.c321 floor_sqrt = floor( sqrt((double)n) ); in kf_factor()
/system/chre/platform/shared/
Dnanoapp_loader.cc113 return sqrt(val); in sqrtOverride()
/system/core/storaged/tests/
Dstoraged_test.cpp138 return sqrt(sum / nums.size()); in standard_deviation()
/system/extras/boottime_tools/bootanalyze/
Dbootanalyze.py813 return math.sqrt(variance)