Error in toString()
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 65/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Domain
- cli
Research direction
Look for the toString() method in the ComplexNumber class. Write a test case for the values +0i and -0i to reproduce the issue. The fix likely involves adjusting the formatting logic to handle signed zero correctly in the imaginary part.
Written by the indexing model from the issue text.
Description
For +/-0i the method produces incorrect output. For -0.0i it looks 5.0+-0.0i
- Dominant language
- Java
- Stars
- 20
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
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.
More from abdulfatir/jcomplexnumber
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
abdulfatir/jcomplexnumber#1 · 1 comment ·
All issues in abdulfatir/jcomplexnumber
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100