From ebb39e426e902c6e1093f53ea80ea3053017cc9c Mon Sep 17 00:00:00 2001 From: HOS Date: Tue, 20 Dec 2022 13:11:35 +0100 Subject: [PATCH] Add non-zero in this case. --- chapters/arrays.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapters/arrays.tex b/chapters/arrays.tex index 93dcb6b1b..d2d4bb5f5 100644 --- a/chapters/arrays.tex +++ b/chapters/arrays.tex @@ -1273,7 +1273,7 @@ \subsection{Element-wise Exponentiation}\label{element-wise-exponentiation} \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!, 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 If $\text{\lstinline!a!} < 0$ and \lstinline!b! is a \lstinline!Real! having a non-zero 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}