| 3416 | |
| 3417 | |
| 3418 | std::string valueToString( LargestInt value ) |
| 3419 | { |
| 3420 | UIntToStringBuffer buffer; |
| 3421 | char *current = buffer + sizeof(buffer); |
| 3422 | bool isNegative = value < 0; |
| 3423 | if ( isNegative ) |
| 3424 | value = -value; |
| 3425 | uintToString( LargestUInt(value), current ); |
| 3426 | if ( isNegative ) |
| 3427 | *--current = '-'; |
| 3428 | assert( current >= buffer ); |
| 3429 | return current; |
| 3430 | } |
| 3431 | |
| 3432 | |
| 3433 | std::string valueToString( LargestUInt value ) |
no test coverage detected