Hasty Briefsbeta

Large integer precision error in Bash command output rendering

10 days ago
  • #macos
  • #bug
  • #tools
  • 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 'echo '348555896224571969'' or 'echo '{"value": 348555896224571969}' | jq -c .value' in Claude Code.
  • Expected behavior: Display '348555896224571969'.
  • Actual behavior: Displays '348555896224571970' (off by 1).
  • Verification: Native terminal correctly outputs '348555896224571969'.
  • Environment: Claude Code v2.0.37, Model: Sonnet 4.5 (Claude Max), Platform: macOS (Darwin 24.3.0).