diff --git a/doc/manual/source/the-model-file.rst b/doc/manual/source/the-model-file.rst index 4a87bfe71c4068bf2deb333bfd311eef27509ba3..d2fc0c6a4c5d4a2a5cdeccd5bae1dfe66023e6dc 100644 --- a/doc/manual/source/the-model-file.rst +++ b/doc/manual/source/the-model-file.rst @@ -10492,25 +10492,21 @@ be a one element array containing a type that can be cast to `double`). +----------------------------------+------------+ | **Code** | **Output** | +==================================+============+ -| ``(bool) -3.9`` | ``true`` | +| ``(bool) -1.1`` | ``true`` | +----------------------------------+------------+ | ``(bool) 0`` | ``false`` | +----------------------------------+------------+ -| ``(int) 3.9`` | ``3`` | +| ``(double) "2.2"`` | ``2.2`` | +----------------------------------+------------+ -| ``(double) "3.9"`` | ``3.9`` | +| ``(tuple) [3.3]`` | ``(3.3)`` | +----------------------------------+------------+ -| ``(tuple) [3.9]`` | ``(3.9)`` | +| ``(array) 4.4`` | ``[4.4]`` | +----------------------------------+------------+ -| ``(array) 3.9`` | ``[3.9]`` | +| ``(double) [5.5]`` | ``5.5`` | +----------------------------------+------------+ -| ``(double) [3.9]`` | ``3.9`` | +| ``(double) [6.6, 7.7]`` | ``error`` | +----------------------------------+------------+ -| ``(double) "3.9 in a string"`` | ``3.9`` | -+----------------------------------+------------+ -| ``(double) "a string with 3.9"`` | ``error`` | -+----------------------------------+------------+ -| ``(double) [3.9, 3.9]`` | ``error`` | +| ``(double) "8.8 in a string"`` | ``error`` | +----------------------------------+------------+ Casts can be used in expressions: diff --git a/preprocessor b/preprocessor index 72c216fd7c6b3d4734f6fa6dd85bb42c9687f145..ddd43618876b50467bb1e8799f271b38a4913838 160000 --- a/preprocessor +++ b/preprocessor @@ -1 +1 @@ -Subproject commit 72c216fd7c6b3d4734f6fa6dd85bb42c9687f145 +Subproject commit ddd43618876b50467bb1e8799f271b38a4913838