summaryrefslogtreecommitdiffhomepage
path: root/tests/custom/00_syntax/10_numeric_literals
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2022-01-04 16:16:28 +0100
committerGitHub <noreply@github.com>2022-01-04 16:16:28 +0100
commit1377e23afff90128b18ac60c10071295fc0afbab (patch)
tree04397dab9be96a5978e08366299671a8aa507267 /tests/custom/00_syntax/10_numeric_literals
parent8907ce41a36f8d42097d884550fb3cfbba62e6c5 (diff)
parentb605dbfcf04f310e08634b52507da7a4155bfce1 (diff)
Merge pull request #30 from jow-/rework-number-handling
treewide: rework numeric value handling
Diffstat (limited to 'tests/custom/00_syntax/10_numeric_literals')
-rw-r--r--tests/custom/00_syntax/10_numeric_literals6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/custom/00_syntax/10_numeric_literals b/tests/custom/00_syntax/10_numeric_literals
index 3e367d0..7aa49b6 100644
--- a/tests/custom/00_syntax/10_numeric_literals
+++ b/tests/custom/00_syntax/10_numeric_literals
@@ -12,7 +12,7 @@ Special values: Infinity, Infinity, NaN, NaN
Minimum values: -9223372036854775808, -1.79769e+308
Maximum values: 9223372036854775807, 1.79769e+308
Minimum truncation: -9223372036854775808, -Infinity
-Maximum truncation: 9223372036854775807, Infinity
+Maximum truncation: 18446744073709551615, Infinity
-- End --
-- Testcase --
@@ -21,6 +21,6 @@ Float literals: {{ 10. }}, {{ 10.3 }}, {{ 123.456e-67 }}, {{ 0x10.1 }}
Special values: {{ Infinity }}, {{ 1 / 0 }}, {{ NaN }}, {{ "x" / 1 }}
Minimum values: {{ -9223372036854775808 }}, {{ -1.7976931348623158e+308 }}
Maximum values: {{ 9223372036854775807 }}, {{ 1.7976931348623158e+308 }}
-Minimum truncation: {{ -10000000000000000000 }}, {{ -1.0e309 }}
-Maximum truncation: {{ 10000000000000000000 }}, {{ 1.0e309 }}
+Minimum truncation: {{ -100000000000000000000 }}, {{ -1.0e309 }}
+Maximum truncation: {{ 100000000000000000000 }}, {{ 1.0e309 }}
-- End --