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

sqrt(...) seems to misbehave #71

Open
tushar-deepsource opened this issue Jun 2, 2023 · 0 comments
Open

sqrt(...) seems to misbehave #71

tushar-deepsource opened this issue Jun 2, 2023 · 0 comments

Comments

@tushar-deepsource
Copy link

tushar-deepsource commented Jun 2, 2023

> log(sqrt(10),2)
1.6609640474
> log(sqrt(10,2))   # even though sqrt only takes 1 argument
6.6438561898
> log(sqrt(10,2     # this has the same behaviour
6.6438561898
> log(sqrt(sqrt(10,2)))
13.2877123795

log(sqrt(10, 2)) behaves like log(100, 2), log(sqrt(sqrt(10, 2))) behaves like log(1000, 2) etc.

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

No branches or pull requests

1 participant