So, when I try to calculate this operation, I get a NaN result.
double raz3 = pow(-64, 1.0/3);
It should return -4, but it returns -NaN instead. I have thought that it was an overflow problem, so I changed the type to long long, instead I receive a value of -9223372036854775808
How can I make it return -4?