Figuredynamic-basis-pow Figure 51 , A P P L Y \APPLY APPLY on Floats: Power, in Section D.4.3 Powers and Elementary Functions .
A P P L Y ( pow , x , y ) = { 1 } if y is a zero = { 1 } if x is 1 = { N a N } if x or y is N a N = { s g n ( x ) ⋅ ∞ } if x is a zero and y < 0 an odd integer = { + ∞ } if x is a zero and y < 0 = { x } if x is a zero and y > 0 an odd integer = { + 0 } if x is a zero and y > 0 = { 1 } if x = − 1 and y ∈ { + ∞ , − ∞ } = { + 0 } if ∣ x ∣ < 1 and y = + ∞ = { + 0 } if ∣ x ∣ > 1 and y = − ∞ = { + ∞ } if ∣ x ∣ > 1 and y = + ∞ = { + ∞ } if ∣ x ∣ < 1 and y = − ∞ = { + 0 } if x = + ∞ and y < 0 = { + ∞ } if x = + ∞ and y > 0 = { − 0 } if x = − ∞ and y < 0 an odd integer = { − ∞ } if x = − ∞ and y > 0 an odd integer = { + 0 } if x = − ∞ and y < 0 = { + ∞ } if x = − ∞ and y > 0 = { N a N } if x < 0 and y is not an integer = { f l ( x y ) } otherwise
\begin{array}{rcll}
\APPLY(\kw{pow},x,y) {\ }& = {\ }& \{1\} {\quad}& \text{if}\ y\ \text{is a zero}\\
{\ }& = {\ }& \{1\} {\quad}& \text{if}\ x\ \text{is}\ 1\\
{\ }& = {\ }& \{\dbNaN\} {\quad}& \text{if}\ x\ \text{or}\ y\ \text{is}\ \dbNaN\\
{\ }& = {\ }& \{\dbsgn(x)\cdot\infty\} {\quad}& \text{if}\ x\ \text{is a zero and}\ y<0\ \text{an odd integer}\\
{\ }& = {\ }& \{+\infty\} {\quad}& \text{if}\ x\ \text{is a zero and}\ y<0\\
{\ }& = {\ }& \{x\} {\quad}& \text{if}\ x\ \text{is a zero and}\ y>0\ \text{an odd integer}\\
{\ }& = {\ }& \{+0\} {\quad}& \text{if}\ x\ \text{is a zero and}\ y>0\\
{\ }& = {\ }& \{1\} {\quad}& \text{if}\ x=-1\ \text{and}\ y\in\{+\infty,-\infty\}\\
{\ }& = {\ }& \{+0\} {\quad}& \text{if}\ |x|<1\ \text{and}\ y=+\infty\\
{\ }& = {\ }& \{+0\} {\quad}& \text{if}\ |x|>1\ \text{and}\ y=-\infty\\
{\ }& = {\ }& \{+\infty\} {\quad}& \text{if}\ |x|>1\ \text{and}\ y=+\infty\\
{\ }& = {\ }& \{+\infty\} {\quad}& \text{if}\ |x|<1\ \text{and}\ y=-\infty\\
{\ }& = {\ }& \{+0\} {\quad}& \text{if}\ x=+\infty\ \text{and}\ y<0\\
{\ }& = {\ }& \{+\infty\} {\quad}& \text{if}\ x=+\infty\ \text{and}\ y>0\\
{\ }& = {\ }& \{-0\} {\quad}& \text{if}\ x=-\infty\ \text{and}\ y<0\ \text{an odd integer}\\
{\ }& = {\ }& \{-\infty\} {\quad}& \text{if}\ x=-\infty\ \text{and}\ y>0\ \text{an odd integer}\\
{\ }& = {\ }& \{+0\} {\quad}& \text{if}\ x=-\infty\ \text{and}\ y<0\\
{\ }& = {\ }& \{+\infty\} {\quad}& \text{if}\ x=-\infty\ \text{and}\ y>0\\
{\ }& = {\ }& \{\dbNaN\} {\quad}& \text{if}\ x<0\ \text{and}\ y\ \text{is not an integer}\\
{\ }& = {\ }& \{\dbfl(x^{y})\} {\quad}& \text{otherwise}
\end{array}
APPLY ( pow , x , y ) = = = = = = = = = = = = = = = = = = = = { 1 } { 1 } { NaN } { sgn ( x ) ⋅ ∞ } { + ∞ } { x } { + 0 } { 1 } { + 0 } { + 0 } { + ∞ } { + ∞ } { + 0 } { + ∞ } { − 0 } { − ∞ } { + 0 } { + ∞ } { NaN } { fl ( x y )} if y is a zero if x is 1 if x or y is NaN if x is a zero and y < 0 an odd integer if x is a zero and y < 0 if x is a zero and y > 0 an odd integer if x is a zero and y > 0 if x = − 1 and y ∈ { + ∞ , − ∞ } if ∣ x ∣ < 1 and y = + ∞ if ∣ x ∣ > 1 and y = − ∞ if ∣ x ∣ > 1 and y = + ∞ if ∣ x ∣ < 1 and y = − ∞ if x = + ∞ and y < 0 if x = + ∞ and y > 0 if x = − ∞ and y < 0 an odd integer if x = − ∞ and y > 0 an odd integer if x = − ∞ and y < 0 if x = − ∞ and y > 0 if x < 0 and y is not an integer otherwise Figure 51 : A P P L Y \APPLY APPLY on Floats: Power