| 92 | #endif |
| 93 | |
| 94 | String valueToString(LargestInt value) { |
| 95 | UIntToStringBuffer buffer; |
| 96 | char* current = buffer + sizeof(buffer); |
| 97 | if (value == Value::minLargestInt) { |
| 98 | uintToString(LargestUInt(Value::maxLargestInt) + 1, current); |
| 99 | *--current = '-'; |
| 100 | } else if (value < 0) { |
| 101 | uintToString(LargestUInt(-value), current); |
| 102 | *--current = '-'; |
| 103 | } else { |
| 104 | uintToString(LargestUInt(value), current); |
| 105 | } |
| 106 | assert(current >= buffer); |
| 107 | return current; |
| 108 | } |
| 109 | |
| 110 | String valueToString(LargestUInt value) { |
| 111 | UIntToStringBuffer buffer; |
no test coverage detected
searching dependent graphs…