Skip to content

Commit

Permalink
Describe the three alternatives for the deprecated feature
Browse files Browse the repository at this point in the history
Addressing review comment by Hans.
  • Loading branch information
henrikt-ma committed Jan 15, 2023
1 parent 0512c5d commit 8513dca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapters/operatorsandexpressions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ \subsection{Numeric Functions and Conversion Functions}\label{numeric-functions-
It shall not contain a length modifier, and shall not use `\lstinline!*!' for width and/or precision.
For both \lstinline!Real! and \lstinline!Integer! values, the conversion specifiers `\lstinline!f!', `\lstinline!e!', `\lstinline!E!', `\lstinline!g!', `\lstinline!G!' are allowed.
For \lstinline!Integer! values it is also allowed to use the `\lstinline!d!', `\lstinline!i!', `\lstinline!o!', `\lstinline!x!', `\lstinline!X!', `\lstinline!u!', and `\lstinline!c!' conversion specifiers.
Using the \lstinline!Integer! conversion specifiers for a \lstinline!Real! value is a deprecated feature without defined result.
Using the \lstinline!Integer! conversion specifiers for a \lstinline!Real! value is a deprecated feature, where tools are expected to produce a result by either rounding the value, truncating the value, or picking one of the \lstinline!Real! conversion specifiers instead.

The `\lstinline!x!'/`\lstinline!X!' formats (hexa-decimal) and \lstinline!c! (character) for \lstinline!Integer! values give results that do not agree with the Modelica grammar.

Expand Down

0 comments on commit 8513dca

Please sign in to comment.