Tech News
← Back to articles

Large integer precision error in Bash command output rendering

read original related products more articles

Claude Code incorrectly displays large integers in bash command output, showing a different value than what was actually output by the command.

Steps to Reproduce

Run the following command in Claude Code:

echo ' 348555896224571969 '

Or with jq:

echo ' {"value": 348555896224571969} ' | jq -c .value

Expected Behavior

Claude Code should display: 348555896224571969

Actual Behavior

Claude Code displays: 348555896224571970 (off by 1)

... continue reading