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

Change sqrt(x^2) to sqrt(x)^2 #43

Merged
merged 1 commit into from
Dec 1, 2015
Merged

Conversation

asmeurer
Copy link
Contributor

@asmeurer asmeurer commented Dec 1, 2015

The problem is that sqrt(x^2) is not equal to x in general (take x = -1). sqrt(x)^2 does always equal x, by definition.

Fixes #42

The problem is that sqrt(x^2) is not equal to x in general (take x = -1). sqrt(x)^2 does always equal x, by definition. 

Fixes Experience-Monks#42
@asmeurer
Copy link
Contributor Author

asmeurer commented Dec 1, 2015

Rendered output

@mattdesl
Copy link
Contributor

mattdesl commented Dec 1, 2015

Thanks!

mattdesl added a commit that referenced this pull request Dec 1, 2015
Change sqrt(x^2) to sqrt(x)^2
@mattdesl mattdesl merged commit e9d6a99 into Experience-Monks:master Dec 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants