Searched refs:precision (Results 1 – 5 of 5) sorted by relevance
/system/update_engine/scripts/update_payload/ |
D | format_utils.py | 52 precision = min(min_precision, max_precision) 53 factor = 10 ** precision 54 while precision <= max_precision: 59 precision += 1 64 precision -= 1 66 return '%d%s%%' % (whole, '.%0*d' % (precision, frac) if frac else '') 69 def BytesToHumanReadable(size, precision=1, decimal=False): argument 108 frac = (size % magnitude) * (10 ** precision) // magnitude
|
D | format_utils_unittest.py | 85 self.assertEqual(format_utils.BytesToHumanReadable(5000, precision=3), 87 self.assertEqual(format_utils.BytesToHumanReadable(500000, precision=0), 89 self.assertEqual(format_utils.BytesToHumanReadable(5000000, precision=5),
|
/system/chre/build/arch/ |
D | cortexm.mk | 36 GCC_CFLAGS += -fsingle-precision-constant
|
/system/extras/cpu_loads/ |
D | README.md | 7 - `simd` is a large double-precision matrix multiplication using Eigen
|
/system/memory/libmeminfo/libsmapinfo/ |
D | smapinfo.cpp | 1198 std::streamsize precision = out.precision(); in print_section_end() local 1201 out << std::setprecision(precision) << std::defaultfloat; in print_section_end()
|