| 74 | // Return 10**exp, with a fast lookup, assuming `exp` is within bounds |
| 75 | template <typename Real> |
| 76 | static Real PowerOfTen(int32_t exp) { |
| 77 | constexpr int N = kPrecomputedPowersOfTen; |
| 78 | DCHECK(exp >= -N && exp <= N); |
| 79 | return RealTraits<Real>::powers_of_ten()[exp + N]; |
| 80 | } |
| 81 | |
| 82 | // Return 10**exp, with a fast lookup if possible |
| 83 | template <typename Real> |
nothing calls this directly
no outgoing calls
no test coverage detected