Skip to content
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

math/cmplx: Imprecise documentation for Sqrt. #7851

Closed
lfousse-google opened this issue Apr 23, 2014 · 4 comments
Closed

math/cmplx: Imprecise documentation for Sqrt. #7851

lfousse-google opened this issue Apr 23, 2014 · 4 comments

Comments

@lfousse-google
Copy link

The documentation for Sqrt is:

   Sqrt returns the square root of x.

I think this should be changed to "a square root of x", or even better include
the more precise documentation included in the top of the source code ("The root
chosen is always in the right half plane and Im w has the same sign as y").
@ianlancetaylor
Copy link
Contributor

Comment 1:

Labels changed: added repo-main, release-go1.3maybe, documentation.

@rsc
Copy link
Contributor

rsc commented May 9, 2014

Comment 2:

Owner changed to @rsc.

Status changed to Started.

@gopherbot
Copy link

Comment 3:

CL https://golang.org/cl/93200043 mentions this issue.

@rsc
Copy link
Contributor

rsc commented May 9, 2014

Comment 4:

This issue was closed by revision 2182d57.

Status changed to Fixed.

@rsc rsc added this to the Go1.3 milestone Apr 14, 2015
@golang golang locked and limited conversation to collaborators Jun 25, 2016
@rsc rsc removed their assignment Jun 23, 2022
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants