Searched refs:one_k (Results 1 - 2 of 2) sorted by relevance
/third_party/benchmark/src/ |
H A D | string_util.cc | 34 void ToExponentAndMantissa(double val, int precision, double one_k, in ToExponentAndMantissa() argument 47 const double big_threshold = (adjusted_threshold * one_k) - 1; in ToExponentAndMantissa() 56 scaled /= one_k; in ToExponentAndMantissa() 71 scaled *= one_k; in ToExponentAndMantissa() 102 Counter::OneK one_k) { in ToBinaryStringFullySpecified() 106 one_k == Counter::kIs1024 ? 1024.0 : 1000.0, &mantissa, in ToBinaryStringFullySpecified() 108 return mantissa + ExponentToPrefix(exponent, one_k == Counter::kIs1024); in ToBinaryStringFullySpecified() 143 std::string HumanReadableNumber(double n, Counter::OneK one_k) { in HumanReadableNumber() argument 144 return ToBinaryStringFullySpecified(n, 1, one_k); in HumanReadableNumber() 101 ToBinaryStringFullySpecified(double value, int precision, Counter::OneK one_k) ToBinaryStringFullySpecified() argument
|
H A D | string_util.h | 17 std::string HumanReadableNumber(double n, Counter::OneK one_k);
|
Completed in 1 milliseconds