Skip to content

Commit

Permalink
Saturated Arithmetic (#54)
Browse files Browse the repository at this point in the history
Add missing description for saturated arithmetic mode on the MSVC toolset
  • Loading branch information
gdr-at-ms committed Mar 28, 2022
1 parent 51eafaf commit 3d1c619
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ltx/exprs.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2184,6 +2184,7 @@ \subsection{Dyadic operators}
\enumerator{MsvcBuiltinIsPointerInterconvertibleWithClass}
\enumerator{MsvcBuiltinIsCorrespondingMember}
\enumerator{MsvcIntrinsic}
\enumerator{MsvcSaturatedArithmetic}
\end{Enumeration}

\ifcSortSection{Unknown}{DyadicOperator}
Expand Down Expand Up @@ -2485,6 +2486,11 @@ \subsection{Dyadic operators}
The first operand is an integer constant describing the intrinsic; the second operand is the argument list.
See also \sortref{Call}{ExprSort}.

\ifcSortSection{MsvcSaturatedArithmetic}{DyadicOpererator}
An MSVC intrinsic for an abstract machine saturated arithemtic operation.
If the arithmetic computation described by the first operand overflows,
then the result is the saturated value indicated by the second operand.


\subsection{Triadic operators}
\label{sec:ifc:OperatorSort:Triadic}
Expand Down

0 comments on commit 3d1c619

Please sign in to comment.