Hi,
for some reason R is giving me NaN for the following input:
> log10(0.1)^0.5
[1] NaN
If x or y are >1, everything works fine:
> log10(0.1)^2
[1] 1
> log10(100)^0.5
[1] 1.414214
Also typing every single result of the input isn't a problem:
> log10(0.1)
[1] -1
> -1^0.5
[1] -1
Am I missing something? R does this every time, when x and y are between 0 and 1. Am I overlooking an obvious fault? Every help is appreciated.