Home
last modified time | relevance | path

Searched refs:sqrt (Results 1 – 13 of 13) 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/
Dcomputestats.c83 std_dev = sqrt((sum_sq_x / num_data_items) - (mean * mean)); in main()
Dcomputestatsf.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.h474 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/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.c313 floor_sqrt = floor( sqrt((double)n) ); in kf_factor()
/system/core/storaged/tests/
Dstoraged_test.cpp138 return sqrt(sum / nums.size()); in standard_deviation()
/system/extras/boottime_tools/bootanalyze/
Dbootanalyze.py818 return math.sqrt(variance)