-
Notifications
You must be signed in to change notification settings - Fork 169
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
AdditionalSqrt #4396
AdditionalSqrt #4396
Conversation
Here are some regexp search results, including matches both in code and documentation:
Many of these are not in documentation, and I'm wondering if there could be any cases where raising to 0.5 is more correct than using |
Will recheck.
The following seem more concerning - but involve other exponents as well so should probably be a separate PR:
|
Remaining are: documentation, or combined with other fractional exponents.
Have now gone through all of them, the remaining ones are:
|
The obvious thing I noticed was fixed, but I do not have enough background to give an actual approving review. Dismissing my change request.
@HansOlsson would you suggest some other reviewers to get this through? |
I believe you can review it, as some are part of media and possibly @AHaumer as it relates to complex numbers. |
I have no strong opinion about this, I need to think about it. |
In general sqrt(x) should be preferred over x^0.5 (assuming both are directly mapped to the corresponding C-expressions):
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@casella Can this be backported to maint/4.1.0? No milestone either. |
Given @HansOlsson's comment, you can do that. It's not critical but it doesn't harm. |
Backporting this to maintenance branch by #4452 |
Follow-up to #4358
Making it a draft PR in case there is more missing.