| 91 | |
| 92 | /** @return The number of digits in a number. */ |
| 93 | template <typename T> static T countDigits( T num ) { |
| 94 | return num == 0 ? 1 : (T)log10( std::abs( num ) ) + 1; |
| 95 | } |
| 96 | |
| 97 | }} // namespace EE::Math |
| 98 |
no outgoing calls
no test coverage detected