(negative number)^(1/7) says NaN

Issue #1142 new
Former user created an issue

For example (-2)^(1/7) can't be calculated.

However, you can do e.g. (-2)^(1/5) or (-2)^(1/2023). The exponent 1/7 is the problem (or are there some other odd exponents too that don't work?).

You can also do (cbrt(-2))^(3/7) with no problem.

Comments (1)

  1. Log in to comment