WriteDecimal negated N before extracting digits. For Low(Int64) = -9223372036854775808 the negation overflows (no positive counterpart in two's complement) and leaves the value negative, so the 'while AbsN > 0' loop ran zero times and only the sign was emitted. Extract digits while keeping the value negative — the negative range reaches Low(Int64) — and negate each remainder. Also fixes Low(Integer), which routes through the same function. Adds e2e regression TestRun_Int64_MinValue. |
||
|---|---|---|
| .. | ||
| src | ||
| Makefile | ||
| project.xml | ||