printf "%.1f %.1f" 2.45 2.55 should be 2.5 2.5 instead of 2.4 2.6
Open
Nobody has claimed this yet.
U - printf
- Dominant language
- Rust
- Stars
- 24.1k
- Forks
- 2k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 365
Description
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the printf command shown in the issue, then read the linked MSYS2-packages issue for context on the rounding discrepancy. Trace the Rust printf implementation and compare its result with the expected output. Done means the command produces 2.5 2.5 for the reported inputs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100