eva icon indicating copy to clipboard operation
eva copied to clipboard

`sqrt(...)` seems to misbehave

Open tushar-deepsource opened this issue 2 years ago • 0 comments

> 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.

tushar-deepsource avatar Jun 02 '23 11:06 tushar-deepsource