| 155 | /// unsigned types. It compiles out in optimized builds into the expected increment. |
| 156 | template <typename T> |
| 157 | constexpr static inline T Sign(const T& value) { |
| 158 | return 1 | ((value >> (ArithmeticUtil::UnsignedWidth<T>() - 1)) >> 1); |
| 159 | } |
| 160 | |
| 161 | template <> |
| 162 | inline int256_t Sign(const int256_t& value) { |
no outgoing calls
no test coverage detected