It doesn't require imaginary numbers for odd roots, only even roots, is a bug. The cube root of a negative number is defined, as is the 5th root of a negative number, etc, so no need to implement complex numbers.
It doesn't require imaginary numbers for odd roots, only even roots, is a bug. The cube root of a negative number is defined, as is the 5th root of a negative number, etc, so no need to implement complex numbers.