| 4180 | #endif |
| 4181 | |
| 4182 | String valueToString(LargestInt value) { |
| 4183 | UIntToStringBuffer buffer; |
| 4184 | char* current = buffer + sizeof(buffer); |
| 4185 | if (value == Value::minLargestInt) { |
| 4186 | uintToString(LargestUInt(Value::maxLargestInt) + 1, current); |
| 4187 | *--current = '-'; |
| 4188 | } else if (value < 0) { |
| 4189 | uintToString(LargestUInt(-value), current); |
| 4190 | *--current = '-'; |
| 4191 | } else { |
| 4192 | uintToString(LargestUInt(value), current); |
| 4193 | } |
| 4194 | assert(current >= buffer); |
| 4195 | return current; |
| 4196 | } |
| 4197 | |
| 4198 | String valueToString(LargestUInt value) { |
| 4199 | UIntToStringBuffer buffer; |
no test coverage detected