diff --git a/chapters/arrays.tex b/chapters/arrays.tex index 195e74be6..93dcb6b1b 100644 --- a/chapters/arrays.tex +++ b/chapters/arrays.tex @@ -1272,7 +1272,8 @@ \subsection{Element-wise Exponentiation}\label{element-wise-exponentiation} The result should correspond to mathematical exponentiation (ideally the correctly rounded result based on the inputs) with the following special cases: \begin{itemize} \item If $\text{\lstinline!a!} = 0.0$ and $\text{\lstinline!b!} = 0$ for an \lstinline!Integer! expression \lstinline!b! the result is $1.0$. -\item If $\text{\lstinline!a!} < 0$ and \lstinline!b! is an \lstinline!Integer! or a \lstinline!Real! having an integer value, the result is defined as $\pm |a|^b$, with sign depending on whether \lstinline!b! is even (positive) or odd (negative). +\item If $\text{\lstinline!a!} < 0$ and \lstinline!b! is an \lstinline!Integer!, the result is defined as $\pm |a|^b$, with sign depending on whether \lstinline!b! is even (positive) or odd (negative). +\item If $\text{\lstinline!a!} < 0$ and \lstinline!b! is a \lstinline!Real! having an integer value, the result is defined as $\pm |a|^b$, with sign depending on whether \lstinline!b! is even (positive) or odd (negative). This case is deprecated, and tools may warn once during a simulation if this occurs. \item Consequences of other exceptional situations, such as ($\text{\lstinline!a!} = 0.0$ and $\text{\lstinline!b!} = 0.0$ for a \lstinline!Real b!, $\text{\lstinline!a!} = 0.0$ and $\text{\lstinline!b!} < 0$, or $\text{\lstinline!a!} < 0$ and \lstinline!b! does not have an integer value) or overflow are undefined. \end{itemize}