-5.class => Integer
-5**(1.0/3) => -1.7099759466766968
(-6+1).class => Integer
(-6 + 1)**(1.0/3) => (0.8549879733383486+1.480882609682364i)
x = (-6 + 1)
x.class => Integer
x**(1.0/3) => (0.8549879733383486+1.480882609682364i)
why am I getting a complex result like this?