From 8513dca10075aa58733be9bba2162a26245f2cbf Mon Sep 17 00:00:00 2001 From: Henrik Tidefelt Date: Sun, 15 Jan 2023 22:51:21 +0100 Subject: [PATCH] Describe the three alternatives for the deprecated feature Addressing review comment by Hans. --- chapters/operatorsandexpressions.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapters/operatorsandexpressions.tex b/chapters/operatorsandexpressions.tex index 0c72ecf49..29b50f239 100644 --- a/chapters/operatorsandexpressions.tex +++ b/chapters/operatorsandexpressions.tex @@ -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.