| 193 | |
| 194 | template <typename Int, typename UInt = typename std::make_unsigned<Int>::type> |
| 195 | constexpr UInt Abs(Int value) { |
| 196 | return value < 0 ? ~static_cast<UInt>(value) + 1 : static_cast<UInt>(value); |
| 197 | } |
| 198 | |
| 199 | template <typename Int> |
| 200 | constexpr size_t Digits10(Int value) { |
no outgoing calls
no test coverage detected