aboutsummaryrefslogtreecommitdiff
path: root/test-suite/output/FloatSyntax.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/output/FloatSyntax.v')
-rw-r--r--test-suite/output/FloatSyntax.v11
1 files changed, 7 insertions, 4 deletions
diff --git a/test-suite/output/FloatSyntax.v b/test-suite/output/FloatSyntax.v
index 1caa0bb444..85f611352c 100644
--- a/test-suite/output/FloatSyntax.v
+++ b/test-suite/output/FloatSyntax.v
@@ -3,8 +3,11 @@ Require Import Floats.
Check 2%float.
Check 2.5%float.
Check (-2.5)%float.
-Check 2.5e20%float.
-Check (-2.5e-20)%float.
+(* Avoid exponents with less than three digits as they are usually
+ displayed with two digits (1e7 is displayed 1e+07) except on
+ Windows where three digits are used (1e+007). *)
+Check 2.5e123%float.
+Check (-2.5e-123)%float.
Check (2 + 2)%float.
Check (2.5 + 2.5)%float.
@@ -13,8 +16,8 @@ Open Scope float_scope.
Check 2.
Check 2.5.
Check (-2.5).
-Check 2.5e20.
-Check (-2.5e-20).
+Check 2.5e123.
+Check (-2.5e-123).
Check (2 + 2).
Check (2.5 + 2.5).