Golf the xᵗʰ root of x While bored in high-school (when I was half my current age...), I found that \$f(x) = x^{x^{-1}}\$ had some interesting properties, including e.g. that the maximum \$f\$ for \$0 ≤ x\$ is \$f(e)\$, and that the binding energy per nucleon of an isotope can be approximated as \$6 × f(x ÷ 21)\$...
Anyway, write the shortest function or program that calculates the xth root of x for any number in your language's domain.
Examples cases
For all languages
     -1   &gt;       -1
   ¯0.2   &gt;    -3125
   ¯0.5   &gt;        4
    0.5   &gt;     0.25
      1   &gt;        1
      2   &gt;    1.414
      e   &gt;    1.444 
      3   &gt;    1.442
    100   &gt;    1.047
  10000   &gt;    1.001

For languages that handle complex numbers
   -2   &gt;        -0.7071i
    i   &gt;            4.81         
   2i   &gt;    2.063-0.745i
 1+2i   &gt;   1.820-0.1834i
 2+2i   &gt;   1.575-0.1003i

For languages that handle infinities
-1/∞   &gt;   0    (or ∞ or ̃∞)
   0   &gt;   0    (or 1 or ∞)
 1/∞   &gt;   0
   ∞   &gt;   1
  -∞   &gt;   1

For languages that handle both infinities and complex numbers
 -∞-2i   &gt;   1      (or ̃∞)


 ̃∞ denotes directed infinity.
TI-BASIC, 3 bytes

Ans×√Ans


TI-BASIC uses tokens, so Ans and ×√ are both one byte.

Explanation

Ans is the easiest way to give input; it is the result of the last expression. ×√ is a function for the x'th root of x, so for example 5×√32 is 2.