summaryrefslogtreecommitdiff
path: root/Test/dafny4/LargeConstants.dfy.expect
diff options
context:
space:
mode:
authorGravatar Clément Pit--Claudel <clement.pitclaudel@live.com>2015-06-12 14:28:42 -0700
committerGravatar Clément Pit--Claudel <clement.pitclaudel@live.com>2015-06-12 14:28:42 -0700
commite054e59a6deda9793b66cf78374b75f7d557bef8 (patch)
tree1abd91a2131a7b8b78202b9552eb2b6a52eee618 /Test/dafny4/LargeConstants.dfy.expect
parentce8e8a618315dd03f4762c261ed96e7815a976cf (diff)
Fix a bug spotted by Chris in my BigInteger patch; thanks!
The problem was this: Console.WriteLine(Int64.Parse("08000000000000000", NumberStyles.HexNumber)); // => -9223372036854775808 Console.WriteLine(Int64.Parse("9223372036854775808")); // => Value was either too large or too small for an Int64. In other words, large hex numbers are interpreted as a sequence of bits, not as an actual number.
Diffstat (limited to 'Test/dafny4/LargeConstants.dfy.expect')
-rw-r--r--Test/dafny4/LargeConstants.dfy.expect2
1 files changed, 2 insertions, 0 deletions
diff --git a/Test/dafny4/LargeConstants.dfy.expect b/Test/dafny4/LargeConstants.dfy.expect
new file mode 100644
index 00000000..4ef2de53
--- /dev/null
+++ b/Test/dafny4/LargeConstants.dfy.expect
@@ -0,0 +1,2 @@
+
+Dafny program verifier finished with 6 verified, 0 errors