aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorAlbert Magyar2020-02-24 16:48:34 -0700
committerGitHub2020-02-24 16:48:34 -0700
commitd44d3f8f1a15f2b15ba338a733ff87a83ecba1ac (patch)
treefd9bbb8bd2a7bd6f387245b007fea77d9fe95bc4 /spec
parent1a73668cdf530c53811959cceba1619770ea3462 (diff)
[spec] clarify that div-by-zero is undefined (#1409)
Diffstat (limited to 'spec')
-rw-r--r--spec/spec.pdfbin275420 -> 275480 bytes
-rw-r--r--spec/spec.tex2
2 files changed, 1 insertions, 1 deletions
diff --git a/spec/spec.pdf b/spec/spec.pdf
index d39d342d..b60c3cb7 100644
--- a/spec/spec.pdf
+++ b/spec/spec.pdf
Binary files differ
diff --git a/spec/spec.tex b/spec/spec.tex
index 361b435f..9aa1e6b4 100644
--- a/spec/spec.tex
+++ b/spec/spec.tex
@@ -1285,7 +1285,7 @@ div & (num,den) & () & (UInt,UInt) & UInt & w\ts{num}\\
\end{tabular}
}}
\end{figure}
-The divide operation divides \vv{num} by \vv{den}, truncating the fractional portion of the result. This is equivalent to rounding the result towards zero.
+The divide operation divides \vv{num} by \vv{den}, truncating the fractional portion of the result. This is equivalent to rounding the result towards zero. The result of a division where \vv{den} is zero is undefined.
\subsection{Modulus Operation}