I am trying to find cube root of a set of numbers using following
x^(1/3) %% 1 ==0
but I am not getting the correct value. When I tried to see what is happening in the console found the following behavior :
> 4 %% 1
[1] 0
> 64^(1/3) %% 1
[1] 1
Why is this giving different results? Am I doing something wrong?