| 4498 | #endif |
| 4499 | |
| 4500 | String valueToString(LargestInt value) |
| 4501 | { |
| 4502 | UIntToStringBuffer buffer; |
| 4503 | char *current = buffer + sizeof(buffer); |
| 4504 | if (value == Value::minLargestInt) |
| 4505 | { |
| 4506 | uintToString(LargestUInt(Value::maxLargestInt) + 1, current); |
| 4507 | *--current = '-'; |
| 4508 | } |
| 4509 | else if (value < 0) |
| 4510 | { |
| 4511 | uintToString(LargestUInt(-value), current); |
| 4512 | *--current = '-'; |
| 4513 | } |
| 4514 | else |
| 4515 | { |
| 4516 | uintToString(LargestUInt(value), current); |
| 4517 | } |
| 4518 | assert(current >= buffer); |
| 4519 | return current; |
| 4520 | } |
| 4521 | |
| 4522 | String valueToString(LargestUInt value) |
| 4523 | { |
no test coverage detected