-
Notifications
You must be signed in to change notification settings - Fork 17.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
strconv: add ParseComplex and FormatComplex #36815
Conversation
This PR (HEAD: 8afa9a5) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/216617 to see it. Tip: You can toggle comments from me using the |
Message from Ian Lance Taylor: Patch Set 1: Code-Review-2 Temporary -2 since the proposal has not been accepted. Please don’t reply on this GitHub thread. Visit golang.org/cl/216617. |
This PR (HEAD: 8df2934) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/216617 to see it. Tip: You can toggle comments from me using the |
This PR (HEAD: bdf80fd) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/216617 to see it. Tip: You can toggle comments from me using the |
This PR (HEAD: 0f31e5a) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/216617 to see it. Tip: You can toggle comments from me using the |
Message from Ian Lance Taylor: Patch Set 4: (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/216617. |
This PR (HEAD: 04ebaf1) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/216617 to see it. Tip: You can toggle comments from me using the |
This PR (HEAD: 07a8ba4) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/216617 to see it. Tip: You can toggle comments from me using the |
This PR (HEAD: cefda0c) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/216617 to see it. Tip: You can toggle comments from me using the |
Message from Emmanuel Odeke: Patch Set 8: (26 comments) Thank you Pj for the change. I've added some suggestions. Please ensure that we can accept all combinations of: I've started a simple format that just accepts for starters Please don’t reply on this GitHub thread. Visit golang.org/cl/216617. |
Message from Emmanuel Odeke: Patch Set 8: (3 comments) Acknowledging that from the approved issue Pj, shall we be accepting spaces between the N+Ni? Thank you. Please don’t reply on this GitHub thread. Visit golang.org/cl/216617. |
no spaces either |
- User rune instead of string for comparison
This PR (HEAD: 4ec856a) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/216617 to see it. Tip: You can toggle comments from me using the |
This PR (HEAD: d0e2ade) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/216617 to see it. Tip: You can toggle comments from me using the |
This PR (HEAD: d45bbbb) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/216617 to see it. Tip: You can toggle comments from me using the |
Message from pj: Patch Set 42: (7 comments)
@robertgriesemer I just want to say that I've had eye strain for the whole week so I've struggled to be in front of a screen. I knew that you were super busy and this was low-priority so I tried my best to complete the task be the end of the week but it's gotten to the point where I can't seem spend even 15 minutes in front a screen. It was an absolute honour working with you and learning from the best. I've done most of the tasks. The only remaining task is the hexadecimal test suite. Hopefully you'll be able to take it from here. Regards, -PJ Please don’t reply on this GitHub thread. Visit golang.org/cl/216617. |
Message from Robert Griesemer: Patch Set 45: Run-TryBot+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/216617. |
Message from Gobot Gobot: Patch Set 45: TryBots beginning. Status page: https://farmer.golang.org/try?commit=ade7ab0d Please don’t reply on this GitHub thread. Visit golang.org/cl/216617. |
Message from Gobot Gobot: Patch Set 45: Build is still in progress... Other builds still in progress; subsequent failure notices suppressed until final report. Consult https://build.golang.org/ to see whether they are new failures. Keep in mind that TryBots currently test exactly your git commit, without rebasing. If your commit's git parent is old, the failure might've already been fixed. Please don’t reply on this GitHub thread. Visit golang.org/cl/216617. |
Message from Robert Griesemer: Patch Set 45: LGTM. Thanks for sticking with this, and I'm sorry to hear about your eye strain. Safety and health take priority of course, so don't worry about this CL. I've reviewed this once more and - as you say, some tests could be trimmed some more - it looks good. Also, the test file needs to be gofmt-ed. I'm going to make some of these minor corrections and will take it from here. Thanks again. Please don’t reply on this GitHub thread. Visit golang.org/cl/216617. |
Message from Robert Griesemer: Patch Set 45: (1 comment) I've cleaned up the test suite and made it more regular. I am going to attach it Please don’t reply on this GitHub thread. Visit golang.org/cl/216617. |
This PR (HEAD: d336057) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/216617 to see it. Tip: You can toggle comments from me using the |
Message from Robert Griesemer: Patch Set 46: Run-TryBot+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/216617. |
Message from Gobot Gobot: Patch Set 46: TryBots beginning. Status page: https://farmer.golang.org/try?commit=bfc34b44 Please don’t reply on this GitHub thread. Visit golang.org/cl/216617. |
Message from Gobot Gobot: Patch Set 46: Build is still in progress... Other builds still in progress; subsequent failure notices suppressed until final report. Consult https://build.golang.org/ to see whether they are new failures. Keep in mind that TryBots currently test exactly your git commit, without rebasing. If your commit's git parent is old, the failure might've already been fixed. Please don’t reply on this GitHub thread. Visit golang.org/cl/216617. |
This PR (HEAD: ef5b113) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/216617 to see it. Tip: You can toggle comments from me using the |
ef5b113
to
036a075
Compare
This PR (HEAD: 036a075) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/216617 to see it. Tip: You can toggle comments from me using the |
Message from Dmitri Shuralyov: Patch Set 48: Run-TryBot+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/216617. |
Message from Gobot Gobot: Patch Set 48: TryBots beginning. Status page: https://farmer.golang.org/try?commit=9ee43817 Please don’t reply on this GitHub thread. Visit golang.org/cl/216617. |
Message from Gobot Gobot: Patch Set 48: TryBot-Result+1 TryBots are happy. Please don’t reply on this GitHub thread. Visit golang.org/cl/216617. |
Message from Dmitri Shuralyov: Patch Set 48: (2 comments) Minor comments on the commit message. https://golang.org/wiki/CommitMessage has more information on the style used by the Go project. Thanks! Please don’t reply on this GitHub thread. Visit golang.org/cl/216617. |
Message from Dmitri Shuralyov: Patch Set 49: pj, a better link about editing the commit message is https://golang.org/wiki/CommitMessage#github-pull-requests (bottom of the page). You'll need to use the Edit button in the top right corner of #36815 to edit the Pull Request subject. Please don’t reply on this GitHub thread. Visit golang.org/cl/216617. |
Adds two functions to deal with complex numbers: * FormatComplex * ParseComplex ParseComplex accepts complex numbers in this format: N+Ni Fixes #36771 Change-Id: Id184dc9e277e5fa01a714ad656a88255ead05085 GitHub-Last-Rev: 036a075 GitHub-Pull-Request: #36815 Reviewed-on: https://go-review.googlesource.com/c/go/+/216617 Reviewed-by: Robert Griesemer <gri@golang.org>
Message from Robert Griesemer: Patch Set 50: Code-Review+2 Please don’t reply on this GitHub thread. Visit golang.org/cl/216617. |
This PR is being closed because golang.org/cl/216617 has been merged. |
Adds two functions to deal with complex numbers:
ParseComplex accepts complex numbers in this format: N+Ni
Fixes #36771